Back to main page
A Maxima-Gnuplot interface
This is a Maxima-Gnuplot interface.
There are three functions to be used at Maxima level: draw2d, draw3d and draw. To read the available documentation about functions, variables and graphic options, type as usual something as ? point_type.
More or less, this package works as follows. Scenes are described in gr2d or gr3d objects, which are then passed to function draw. If more than one scene is described, a multiplot will be generated, as in
draw(gr2d(...),gr3d(...))
but if you want only one scene, draw2d(...) and draw3d(...) are equivalent to draw(gr2d(...)) and draw(gr3d(...)), respectively. See examples bellow.
Type ? gr2d and ? gr3d to know available graphic objects in two and three dimensions.
You need at least Gnuplot 4.2 (better 4.2.2) and Maxima 5.14 to run this package. Type load(draw); to make use of it.
See also some statistical graphics generated by package descriptive, based on draw.
What's new
- (May, 09) An example of 3d surface with no rectangular domain. See example
- (April, 09) More options for colorbox in enhanced3d mode. See examples
- (April, 09) Parametric 3d curves with colored 4th dimension. See example
- (February, 09) Added examples on Bode diagrams. See examples
- (February, 09) Give support for secondary x-axis. See example
- (February, 09) Graphic object points admits lisp arrays as arguments, both in 2D and 3D plots.
- (January, 09) Stacking multiple plots on one window. See example
- (January, 09) Give support for secondary y-axis. See example
- (November, 08) Graphics objects can be defined at Maxima level. See example
- (November, 08) Add support for pdf terminal. See documentation for details.
- (October, 08) Mesh lines can be drawn together with enhanced 3d surfaces. See example
- (October, 08) Make enhanced 3d parametric surfaces look better. See example
Back to main page
by Mario Rodríguez Riotorto