mirror of
https://github.com/chriswolfvision/eplot.git
synced 2025-05-05 22:31:13 +08:00
Merge pull request #9 from amake/gnuplotbin
Parameterize gnuplot binary name
This commit is contained in:
commit
a198a8fa43
3
eplot
3
eplot
@ -60,6 +60,7 @@ require 'tempfile'
|
|||||||
$Version="2.07 03.05.2007"
|
$Version="2.07 03.05.2007"
|
||||||
$TextViewer="cat"
|
$TextViewer="cat"
|
||||||
$GnuPlot4OrNewer=true
|
$GnuPlot4OrNewer=true
|
||||||
|
$GnuPlotBin="gnuplot"
|
||||||
|
|
||||||
# **************************************************************************
|
# **************************************************************************
|
||||||
# VARIOUS CONSTANTS
|
# VARIOUS CONSTANTS
|
||||||
@ -399,7 +400,7 @@ class Controller
|
|||||||
# ---- print the options
|
# ---- print the options
|
||||||
com="echo '\n"+getStyleString+@oc["MiscOptions"]
|
com="echo '\n"+getStyleString+@oc["MiscOptions"]
|
||||||
com=com+"set multiplot;\n" if doMultiPlot
|
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)
|
printAndRun(com)
|
||||||
# ---- convert to PDF
|
# ---- convert to PDF
|
||||||
if @oc["DoPDF"]
|
if @oc["DoPDF"]
|
||||||
|
Loading…
Reference in New Issue
Block a user