From f0c3fd4d7da4ac3a53eae519ae7bb7af846e783b Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Wed, 3 Aug 2022 14:24:20 +0100 Subject: [PATCH] PlotData fix --- lib/Core/Plot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Core/Plot.cpp b/lib/Core/Plot.cpp index 3a236cd..8bf3644 100644 --- a/lib/Core/Plot.cpp +++ b/lib/Core/Plot.cpp @@ -184,7 +184,7 @@ PlotData::PlotData(const DMatSample &x, const DVec &y, const bool abs) } else { - setCommand("'" + tmpFileName + "' u 1:($3):2 w xerr"); + setCommand("'" + tmpFileName + "' u 1:(abs($3)):2 w xerr"); } }