The attached file zipped gnuplot script, which was obtained from octave on cygwin.
I have modified the terminal from x11 to png.
In the script one can find,
plot "-" binary format='%float64' record=161 using ($1):($2) axes x1y1 title "" with lines linestyle 1 \ ;
If I execute this script gnuplot-4.5 on cygwin,
gnuplot> load 'gnuplotstream.gp'
gnuplot> set out
From the shell,
$ gnuplot gnuplotstream.gp
gives correct output
However, gnuplot for windows (both 4.4.0 and 4.5)
the above operation gives an empty png file.
Interestingly, the script passed via the pipe, the script gives a correct png file even on the gnuplot for windows
d:\xxx\xx> type gnuplotstream.gp | gnuplot
I have a quick look into the source codes but I cannot figure out which code is to be concerned the phenomena.
Reference: this topic comes from octave threads
Log in to post a comment.