mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
Improve curve naming for plot and use in RFT segment plots
* Improve plot naming for depth track plots * Move template text replace to string tools * More data available for object template text * Set plot visible and define default object name template text
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
#include "RimStimPlanModelPlot.h"
|
||||
#include "RimStimPlanModelPlotCollection.h"
|
||||
#include "RimStimPlanModelTemplate.h"
|
||||
#include "RimWellLogPlotNameConfig.h"
|
||||
#include "RimWellLogTrack.h"
|
||||
#include "RimWellPath.h"
|
||||
#include "RimWellPathCollection.h"
|
||||
@@ -166,7 +167,6 @@ RimStimPlanModelPlot* RicNewStimPlanModelPlotFeature::createPlot( RimStimPlanMod
|
||||
{
|
||||
auto task = progInfo.task( "Updating all tracks", 5 );
|
||||
|
||||
plot->nameConfig()->setAutoNameTags( false, false, false, false, false );
|
||||
plot->setPlotTitleVisible( true );
|
||||
plot->setLegendsVisible( true );
|
||||
plot->setLegendsHorizontal( false );
|
||||
@@ -445,6 +445,7 @@ RimStimPlanModelPlot* RicNewStimPlanModelPlotFeature::createStimPlanModelPlot( b
|
||||
|
||||
stimPlanModelPlotColl->addStimPlanModelPlot( plot );
|
||||
|
||||
plot->setNamingMethod( RiaDefines::ObjectNamingMethod::CUSTOM );
|
||||
if ( !plotDescription.isEmpty() )
|
||||
{
|
||||
plot->nameConfig()->setCustomName( plotDescription );
|
||||
|
||||
Reference in New Issue
Block a user