|
From: János L. <jan...@ya...> - 2010-06-30 21:00:31
|
Hi,
Having a plot command in a .gp file this way:
plot ["Jun 01, 2010 00:03:11":"Jun 30, 2010 00:03:04"][] "/Volumes/Data/PROJECTS/Sysmon/outs/workerprocess.out" using 1:( column(2) > 0 ? column(2) : 1) title "Total Worker Requested" with points pointtype 7 pointsize 0.4,"" using 1:( column(2) > 0 ? column(2) : 1) title "Bezier" smooth bezier with lines linetype -1
is working fine.
When I change it to this form:
plot [$0:$1][] "/Volumes/Data/PROJECTS/Sysmon/outs/workerprocess.out" using 1:( column(2) > 0 ? column(2) : 1) title "Total Worker Requested" with points pointtype 7 pointsize 0.4,"" using 1:( column(2) > 0 ? column(2) : 1) title "Bezier" smooth bezier with lines linetype -1
and call the program containing this plot command as:
gnuplot> call '/Volumes/Data/PROJECTS/Sysmon/gnuplot_cmds/workerprocess_multi.gp' "Jun 01, 2010 00:03:11" "Jun 30, 2010 00:03:04"
"/Volumes/Data/PROJECTS/Sysmon/gnuplot_cmds/workerprocess_multi.gp", line 15: undefined variable: Jun
I also tried single quote with no difference.
What am I doing wrong ?
János
|