The Wiki doesn't seem up to date with the code, and since GitHub doesn't support pull requests on Wiki pages, all I can do is point out what's not working.
The default terminal type for gnuplot is qt, not wxt as claimed. If you use a gnuplot without qt support compiled in, you get neither a plot nor an error message. That took me a lot of time to figure out.
The second example, (draw (plot2d (lines #'sin #'cos))), fails because lines is cl-ana.string-utils:lines, which expects string arguments. I haven't found anything shorter than (draw (plot2d (list (line #'sin) (line #'cos)))) to get the desired result. The lines function is also mentioned under "Plotting structure", but doesn't seem to exist any more.
The Wiki doesn't seem up to date with the code, and since GitHub doesn't support pull requests on Wiki pages, all I can do is point out what's not working.
The default terminal type for gnuplot is
qt
, notwxt
as claimed. If you use agnuplot
withoutqt
support compiled in, you get neither a plot nor an error message. That took me a lot of time to figure out.The second example,
(draw (plot2d (lines #'sin #'cos)))
, fails becauselines
iscl-ana.string-utils:lines
, which expects string arguments. I haven't found anything shorter than(draw (plot2d (list (line #'sin) (line #'cos))))
to get the desired result. Thelines
function is also mentioned under "Plotting structure", but doesn't seem to exist any more.