mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-13 17:02:13 -05:00
Logarithmic curve support and renaming (#8546)
* Add test for both positive and negative numbers * Remove redundant sample count from parameter list * Propagate useLogarithmicScale * Renaming
This commit is contained in:
1 parent
a8a3d3332b
commit
477ae02382
50 files changed
+597
-481
No files matched your search
@@ -175,14 +175,14 @@ RiuPlotWidget* RimVfpPlot::plotWidget()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimVfpPlot::setAutoScaleXEnabled( bool /*enabled*/ )
|
||||
void RimVfpPlot::setAutoScalePropertyValuesEnabled( bool /*enabled*/ )
|
||||
{
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimVfpPlot::setAutoScaleYEnabled( bool /*enabled*/ )
|
||||
void RimVfpPlot::setAutoScaleDepthValuesEnabled( bool /*enabled*/ )
|
||||
{
|
||||
}
|
||||
|
||||
@@ -573,8 +573,8 @@ void RimVfpPlot::populatePlotWidgetWithPlotData( RiuPlotWidget* plotWidget, cons
|
||||
symbol->setSize( 6, 6 );
|
||||
curve->setSymbol( symbol );
|
||||
|
||||
bool isLogCurve = false;
|
||||
curve->setSamplesFromXValuesAndYValues( plotData.xData( idx ), plotData.yData( idx ), isLogCurve );
|
||||
bool useLogarithmicScale = false;
|
||||
curve->setSamplesFromXValuesAndYValues( plotData.xData( idx ), plotData.yData( idx ), useLogarithmicScale );
|
||||
curve->attachToPlot( plotWidget );
|
||||
curve->showInPlot();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user