From 05b91a20a1bbc851327550ce86f1924e1f6a1449 Mon Sep 17 00:00:00 2001 From: Matej Sekoranja Date: Wed, 26 Mar 2014 20:06:04 +0100 Subject: [PATCH] eget: older gnuplot support --- testApp/remote/eget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testApp/remote/eget.cpp b/testApp/remote/eget.cpp index 346f0a6..6d546cb 100644 --- a/testApp/remote/eget.cpp +++ b/testApp/remote/eget.cpp @@ -764,7 +764,7 @@ void formatNTImage(std::ostream& /*o*/, PVStructurePtr const & pvStruct) */ //eget -s testImage | gnuplot -e "set size ratio -1; set palette grey; set cbrange [0:255]; plot '-' binary array=(512,384) flipy format='%uchar' with image" - FILE* gnuplotPipe = popen ("gnuplot -p", "w"); + FILE* gnuplotPipe = popen ("gnuplot -persist", "w"); // use -persist for backward compatibility (to support older gnuplot versions) const char *prologue = getenv("EGET_GNUPLOT_PROLOGUE"); if (prologue)