There are various plotting packages for cm lying around.

Heres my favorite - a very simple, but effective gnuplot-based
one.  I find i use it all the time, needing nothing but gnuplot
set up.  The code below is set up to run with sbcl as well as the
others.

I havent set up with any schemes here.  Maybe someone has some
time to spare.  Its a matter of redefining #'open-plot and
#'close-plot to whatever calls are used to manage
processes/shells by the implementation.

> (plot-data (loop repeat 100 collect (random 1.0)))

> (plot-2d-curve '(0 0 1 1 8 0.7 10 0))

> (plot-2d-curves (list '(0 0 .1 1 .8 0.7 1 0) '(0 1 1 0)))

> (plot-3d-curve (loop repeat 7
                         for x = (between -1.0 1.0)
                         for y = (between -1.0 1.0)
                         for z = (between -1.0 1.0)
                         append (list x y z))
                   :style "lp")

Attachment: plot.cl
Description: plot-functions from dlocsig.lisp

Reply via email to