diff --git a/src/plotmanager.cpp b/src/plotmanager.cpp --- a/src/plotmanager.cpp +++ b/src/plotmanager.cpp @@ -204,3 +204,18 @@ Plot* PlotManager::plotWidget(unsigned c return plotWidgets[0]; } } + +void PlotManager::replot() +{ + if (isMulti) + { + for (auto plot : plotWidgets) + { + plot->replot(); + } + } + else + { + plotWidgets[0]->replot(); + } +}