drawopt.spad line 1 [edit on github]
DrawOption allows the user to specify defaults for the creation and rendering of plots.
adaptive(b) turns adaptive 2D plotting on if b is true, or off if b is false. This option is expressed in the form adaptive == b.
clip(b) turns 2D clipping on if b is true, or off if b is false. This option is expressed in the form clip == b.
clip([l]) provides ranges for user-defined clipping as specified in the list l. This option is expressed in the form clip == [l].
colorFunction(f(z)) specifies the color based upon the z-component of three dimensional plots. This option is expressed in the form colorFunction == f(z).
colorFunction(f(u, v)) specifies the color for three dimensional plots as a function based upon the two parametric variables. This option is expressed in the form colorFunction == f(u, v).
colorFunction(f(x, y, z)) specifies the color for three dimensional plots as a function of x, y, and z coordinates. This option is expressed in the form colorFunction == f(x, y, z).
coord(p) specifies a change of coordinates of point p. This option is expressed in the form coord == p.
coordinates(p) specifies a change of coordinate systems of point p. This option is expressed in the form coordinates == p.
curveColor(v) specifies a color, v, for 2D graph curves. This option is expressed in the form curveColor == v.
curveColor(p) specifies a color index for 2D graph curves from the spadcolors palette p. This option is expressed in the form curveColor ==p.
option() is not to be used at the top level; option determines internally which drawing options are indicated in a draw command.
option?() is not to be used at the top level; option? internally returns true for drawing options which are indicated in a draw command, or false for those which are not.
pointColor(v) specifies a color, v, for 2D graph points. This option is expressed in the form pointColor == v.
pointColor(p) specifies a color index for 2D graph points from the spadcolors palette p. This option is expressed in the form pointColor == p.
range([l]) provides a user-specified range l. This option is expressed in the form range == [l].
range([i]) provides a user-specified range i. This option is expressed in the form range == [i].
ranges(l) provides a list of user-specified ranges l. This option is expressed in the form ranges == l.
space specifies the space into which we will draw. If none is given then a new space is created.
style(s) specifies the drawing style in which the graph will be plotted by the indicated string s. This option is expressed in the form style == s.
title(s) specifies a title for a plot by the indicated string s. This option is expressed in the form title == s.
toScale(b) specifies whether or not a plot is to be drawn to scale; if b is true it is drawn to scale, if b is false it is not. This option is expressed in the form toScale == b.
tubePoints(n) specifies the number of points, n, defining the circle which creates the tube around a 3D curve, the default is 6. This option is expressed in the form tubePoints == n.
tubeRadius(r) specifies a radius, r, for a tube plot around a 3D curve; is expressed in the form tubeRadius == 4.
unit(lf) will mark off the units according to the indicated list lf. This option is expressed in the form unit == [f1, f2].
var1Steps(n) indicates the number of subdivisions, n, of the first range variable. This option is expressed in the form var1Steps == n.
var2Steps(n) indicates the number of subdivisions, n, of the second range variable. This option is expressed in the form var2Steps == n.
viewpoint(vp) creates a viewpoint data structure corresponding to the list of values. The values are interpreted as [theta, phi, scale, scaleX, scaleY, scaleZ, deltaX, deltaY]. This option is expressed in the form viewpoint == ls.