mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-21 22:13:25 -06:00
#6171 Fracture Model Plot: Use "Step Left" interpolation for stress gradient.
This commit is contained in:
parent
fcb99b1987
commit
56cbf6b5df
@ -478,6 +478,10 @@ void RicNewFractureModelPlotFeature::createStressTrack( RimFractureModelPlot*
|
||||
curve->setLineThickness( 2 );
|
||||
curve->setUiName( trackName );
|
||||
curve->setAutoNameComponents( false, false, false, false, false );
|
||||
if ( propertyType == RiaDefines::CurveProperty::STRESS_GRADIENT )
|
||||
{
|
||||
curve->setInterpolation( RiuQwtPlotCurve::INTERPOLATION_STEP_LEFT );
|
||||
}
|
||||
|
||||
plotTrack->addCurve( curve );
|
||||
plotTrack->setAutoScaleXEnabled( true );
|
||||
|
@ -890,6 +890,14 @@ void RimPlotCurve::setSymbol( RiuQwtSymbol::PointSymbolEnum symbolStyle )
|
||||
m_pointSymbol = symbolStyle;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimPlotCurve::setInterpolation( RiuQwtPlotCurve::CurveInterpolationEnum curveInterpolation )
|
||||
{
|
||||
m_curveInterpolation = curveInterpolation;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -69,6 +69,7 @@ public:
|
||||
cvf::Color3f color() const { return m_curveColor; }
|
||||
void setLineStyle( RiuQwtPlotCurve::LineStyleEnum lineStyle );
|
||||
void setSymbol( RiuQwtSymbol::PointSymbolEnum symbolStyle );
|
||||
void setInterpolation( RiuQwtPlotCurve::CurveInterpolationEnum );
|
||||
RiuQwtSymbol::PointSymbolEnum symbol();
|
||||
int symbolSize() const;
|
||||
cvf::Color3f symbolEdgeColor() const;
|
||||
|
Loading…
Reference in New Issue
Block a user