A 2D plotting library for Common Lisp, using cl-cairo2 as a backend.
Switch branches/tags
Nothing to show
Pull request Compare This branch is 23 commits ahead of harrib:master.
Permalink
Failed to load latest commit information.
examples
.gitignore
README
TODO Added new axis code. Oct 7, 2009
axis.lisp
cl-2d.asd
color-mapping.lisp
contexts.lisp
drawing-area.lisp
drawing-primitives.lisp first commit May 19, 2009
extensions.lisp
frame.lisp
legend.lisp
mapping.lisp Cleanup to follow changes in CLNU. Oct 29, 2011
package.lisp
plot.lisp
styles.lisp
symbols.lisp
utilities.lisp

README

Cl-2d is a two-dimensional graph library for Common Lisp.  It builds
on cl-cairo2 and thus uses the Cairo library, which provides various
backends, including pixel-based (eg PNG, X11) and vector-based (PDF,
SVG, PS) ones.  It is meant solely for 2-dimensional plotting (hence
the name).

Cl-2d is designed to be extensible instead of providing a plethora of
"canned" functions.  Most plots used in scientific visualization are
customized, and the purpose of this library is to make customization
easy.  Plotting happens on frames, which are rectangular areas.  A DSL
is available for splitting frames.  A frame combined with a mapping
from plot coordinates to Cairo coordinates is a drawing area.
Functions named plot-* take a frame, set up and return a drawing area
(on which you can continue drawing), while draw-* functions draw on an
existing drawing area.

See the example/ directory for a wide variety of examples.

This library is still under development, suggestions are welcome.

Tamas K Papp, 2009.
tkpapp@gmail.com