From 76d50128ed36b8cedc6754f320807f95def7f62f Mon Sep 17 00:00:00 2001 From: Aaron Madlon-Kay Date: Sat, 24 Oct 2020 15:01:35 +0900 Subject: [PATCH] Parameterize gnuplot binary name --- eplot | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eplot b/eplot index 7e020ab..cdba017 100755 --- a/eplot +++ b/eplot @@ -60,6 +60,7 @@ require 'tempfile' $Version="2.07 03.05.2007" $TextViewer="cat" $GnuPlot4OrNewer=true +$GnuPlotBin="gnuplot" # ************************************************************************** # VARIOUS CONSTANTS @@ -399,7 +400,7 @@ class Controller # ---- print the options com="echo '\n"+getStyleString+@oc["MiscOptions"] com=com+"set multiplot;\n" if doMultiPlot - com=com+"plot "+@oc["Range"]+comString+"\n'| gnuplot -persist" + com=com+"plot "+@oc["Range"]+comString+"\n'| "+$GnuPlotBin+" -persist" printAndRun(com) # ---- convert to PDF if @oc["DoPDF"]