mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06: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:
@@ -239,8 +239,8 @@ void RiuFlowCharacteristicsPlot::addFlowCapStorageCapCurve( const QDateTime&
|
||||
|
||||
RiuQwtPlotCurve* plotCurve =
|
||||
createEmptyCurve( m_flowCapVsStorageCapPlot, dateTime.toString(), m_dateToColorMap[dateTime] );
|
||||
bool isLogCurve = false;
|
||||
plotCurve->setSamplesFromXValuesAndYValues( xVals, yVals, isLogCurve );
|
||||
bool useLogarithmicScale = false;
|
||||
plotCurve->setSamplesFromXValuesAndYValues( xVals, yVals, useLogarithmicScale );
|
||||
m_flowCapVsStorageCapPlot->replot();
|
||||
}
|
||||
|
||||
@@ -253,9 +253,9 @@ void RiuFlowCharacteristicsPlot::addSweepEfficiencyCurve( const QDateTime&
|
||||
{
|
||||
CVF_ASSERT( !m_dateToColorMap.empty() );
|
||||
|
||||
RiuQwtPlotCurve* plotCurve = createEmptyCurve( m_sweepEffPlot, dateTime.toString(), m_dateToColorMap[dateTime] );
|
||||
bool isLogCurve = false;
|
||||
plotCurve->setSamplesFromXValuesAndYValues( xVals, yVals, isLogCurve );
|
||||
RiuQwtPlotCurve* plotCurve = createEmptyCurve( m_sweepEffPlot, dateTime.toString(), m_dateToColorMap[dateTime] );
|
||||
bool useLogarithmicScale = false;
|
||||
plotCurve->setSamplesFromXValuesAndYValues( xVals, yVals, useLogarithmicScale );
|
||||
|
||||
m_sweepEffPlot->replot();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user