dpart SciMax Toolbox draw2d

SciMax Toolbox >> draw

draw

Maxima Function

Calling Sequence

draw (gr2d, ..., gr3d, ..., options, ...)

Description

Plots a series of scenes; its arguments are gr2d and/or gr3d objects, together with some options. By default, the scenes are put together in one column.

Function draw accepts two possible options: terminal and columns.

Functions draw2d and draw3d are short cuts to be used when only one scene is required, in two or three dimensions, respectively.

To make use of this function, write first load(draw).

Example:

(%i1) load(draw)$
(%i2) scene1: gr2d(title="Ellipse",
                   nticks=30,
                   parametric(2*cos(t),5*sin(t),t,0,2*%pi))$
(%i3) scene2: gr2d(title="Triangle",
                   polygon([4,5,7],[6,4,2]))$
(%i4) draw(scene1, scene2, columns = 2)$
dpart SciMax Toolbox draw2d