I tried passing variables to a gnuplot script as explained here, but I only get an error message:
Non-numeric string found where a numeric expression was expected
I am using gnuplot on Windows 7. I had a friend try the same thing on Linux Mint and it works like a charm there.
Is this functionality just not included in the windows version of gnuplot or can I change something to accomplish the same thing? Is there another way to do this?
My script:
print "p0=$0 p1=$1 p2=$2 p3=$3 p4=$4 p5=$5 p6=$6 p7=x$7x"
How i call it:
gnuplot> call 'calltest.gp' "abcd" 1.2 + "'quoted'" -- "$2"
I use gnuplot Version 5.0 patchlevel 0.