Why this code doesn't work?
plot #sin(x), cos(x)
the error info is
plot ^ "a.plt", line 3: function to plot expected
gnuplot --version
gnuplot 5.0 patchlevel 0
That code doesn't work, because a at the end of a comment line makes gnuplot treat the next line also as comment. See the documentation about comments.
1.4m articles
1.4m replys
5 comments
57.0k users