I want to call gnuplot with the shell command, all commands are stored, say, "load.gp".
If I run the gnuplot shell and type "load" load.gp "I can change the viewpoint by dragging the splot with the mouse.
The problem is that I cannot figure out how to achieve this without being in the gnuplot shell.
echo "load 'load.gp'" | gnuplot -persist
or
gnuplot -persist 'load.gp'
will not work. Can someone help me?
Thanks, Jan
source
share