|
From: Peter O. <Pet...@ma...> - 2007-10-26 09:27:22
|
G N U P L O T Version 4.2 patchlevel 2 last modified 31 Aug 2007 System: MS-Windows 32 bit # Bug found by Peter Orthmann 2007-10-26 # 'plot' - cannot access line number in datafile when called by script using arguments=20 # example with four files # execute MyScript and observe that MyPlot1 do not finish # execute MyPlot2 and se that ($0+10):1 works here # MyScript.gp file: call 'MyPlot1.gp' 'MyData.dat' # MyPlot1.gp file: plot '$0' using 0:1 title 'This work MyPlot1.gp was executed' w l pause -1 'Hit Return' plot '$0' using ($0*10):1 title 'This do not work - plot error' w l pause -1 'Hit Return' # MyPlot2.gp file: plot 'MyData.dat' using ($0*10):1 title 'This work' w l pause -1 'Hit Return' # MyData.dat file: 4 2 3 8 |