From 4f4bb3cf38ff2f695188b8208b96fa972008244e Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Wed, 6 Dec 2023 08:57:26 +0000 Subject: [PATCH] Fix bug --- src/ParamOutputImpl/Plot/InstantPlot/PlotFunction.cc | 4 ++-- src/ParamOutputImpl/Plot/InstantPlot/PlotFunction.hh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ParamOutputImpl/Plot/InstantPlot/PlotFunction.cc b/src/ParamOutputImpl/Plot/InstantPlot/PlotFunction.cc index 5d9f995..39cb8ef 100644 --- a/src/ParamOutputImpl/Plot/InstantPlot/PlotFunction.cc +++ b/src/ParamOutputImpl/Plot/InstantPlot/PlotFunction.cc @@ -517,7 +517,7 @@ namespace plot _pls->vpor(lXMin, lXMax, lYMin, lYMax); } - void PlotFunction::preparePlotArea(double startTime, double stopTime, int intervalIndex) + void PlotFunction::preparePlotArea(double startTime, double stopTime, int intervalIndex, std::vector* ttNames) { PlotFunction::applyFunction(); PlotFunction::setAxisRange(); @@ -531,7 +531,7 @@ namespace plot PlotFunction::configureAxisLegend(); PlotFunction::addTitleToPanel(startTime, stopTime); - PanelPlotOutput::preparePlotArea(startTime, stopTime, intervalIndex); + PanelPlotOutput::preparePlotArea(startTime, stopTime, intervalIndex, ttNames); } void PlotFunction::addTitleToPanel(double startTime, double stopTime) diff --git a/src/ParamOutputImpl/Plot/InstantPlot/PlotFunction.hh b/src/ParamOutputImpl/Plot/InstantPlot/PlotFunction.hh index db8189b..35856a8 100644 --- a/src/ParamOutputImpl/Plot/InstantPlot/PlotFunction.hh +++ b/src/ParamOutputImpl/Plot/InstantPlot/PlotFunction.hh @@ -174,7 +174,7 @@ namespace plot virtual void writeDataFile(double startTime, double stopTime); - virtual void preparePlotArea(double startTime, double stopTime, int intervalIndex); + virtual void preparePlotArea(double startTime, double stopTime, int intervalIndex, std::vector* ttNames = NULL); /** * @brief Get original id of the concerned parameter (for the plot) then add it to the usedParametersId_ and store it in originalParamId * -- libgit2 0.21.2