I'm writing a batch file which will also generate a gnuplot graph from a dat file.
I wish to call gnuplot from the command line, using the gnuplot "gnu" script I have written, and save the output graph to an image.
Something like:
gnuplot.exe script.gnu > image.png
Any ideas?
Simply putting the following line will make gnuplot to return png-format bytecode. Thus, you can redirect the output to a png-file.
set terminal png