> plot3d(x^2+y^2, x=-1..1, y=-1..1, style=wireframe, grid=[15,15]);displays the graph in wireframe using a
15x15
grid.
(Dynagraph's default action is to display the graph as a solid
surface using an (invisible) grid of 25x25
.)
All options take the form option=value. These can be
supplied to the plotting command in any order, separated by commas.
The following
list describes all the options recognized by dynagraph. These
form a subset of options available in Maple. The listing below has been
obtained mostly by cut-and-paste from Maple's online help. The options
pointsize
and the option values
x_gridlines
and y_gridlines
are specific to dynagraph and do not exist in Maple.
Option values which are keywords, such as WIREFRAME
or HELVETICA
can be typed either in all uppercase or all lowercase.
Therefore axesfont=[HELVETICA,10]
and
axesfont=[helvetica,10]
are equivalent. In the listing below
only the uppercase variants are shown.
axes=
f
f
is one of
BOXED
, NORMAL
, FRAME
, and
NONE
.
axes=NONE
Remark: In this release of dynagraph all axes options other
than NONE
are treated as synonymous with BOXED
.
This may be fixed in future releases.
axesfont=
l
axesfont=[HELVETICA,10]
color=
colorname
Colorname
may
be any color name recognizable by the X server, such as "red" or
"MidnightBlue", or an RGB specification such as "#009000". It must be
quoted if it contains non-alphanumeric characters.
For the convenience of our continental friends,
colour
is provided as a synonym to
color
.
contours=
n
contours=10
coords=
c
c
is one of CARTESIAN
, SPHERICAL
,
CYLINDRICAL
, Z_CYLINDRICAL
.
coords=CARTESIAN
font=
fontspec
Fontspec
is a list of the form [family,style,size]
,
where family is one of
TIMES
, COURIER
, HELVETICA
, and
SYMBOL
. For TIMES
, style may be one of
ROMAN
, BOLD
, ITALIC
or
BOLDITALIC
. For HELVETICA
and COURIER
style may be omitted or select one of BOLD
,
OBLIQUE
, or BOLDOBLIQUE
. SYMBOL
does not accept a style option. The final value, size, is the point
size to be used.
font=[HELVETICA,10]
grid=
[m,n]
grid=[25,25]
gridstyle=
x
x
is one of
RECTANGULAR
, TRIANGULAR
,
X_GRIDLINES
, Y_GRIDLINES
.
(XY_GRIDLINES
is also provided as a synonym for
RECTANGULAR
.)
Note that these options set the mesh style but do not cause the mesh to
be drawn. The drawing of the mesh is determined by the value of
the style
option described below.
gridstyle=RECTANGULAR
labelfont=
l
labelfont=[HELVETICA,12]
labels=
[x,y,z]
x
,
y
, and z
must be strings. The default label for
the x
and y
axes are the names of the variables
for the x
and y
axes and no label on the
z
axis. Labels are shown only when the
coords=CARTESIAN
is in effect.
linewidth=
n
numpoints=
n
orientation=
[longitude,colatitude]
orientation=[45,45]
pointsize=
n
n
should be an integer from 0 to 10. 0 selects the
default pointsize.
pointsize=3
scaling=
s
UNCONSTRAINED
or CONSTRAINED
.
The dynagraph graphics window is initially set to
scaling=CONSTRAINED
. The user may toggle the
CONSTRAINED/UNCONSTRAINED
button at will.
Subsequent graphs will obey the button's setting unless specified otherwise
on the command line.
shading=
s
s
is
one of XYZ
, XY
, Z
,
ZGREYSCALE
, ZHUE
, NONE
.
shading=XYZ
style=
s
s
is
one of POINT
, HIDDEN
, PATCH
,
WIREFRAME
, CONTOUR
, PATCHNOGRID
,
PATCHCONTOUR
, or LINE
.
style=PATCHNOGRID
Remark: LINE
is synonymous with WIREFRAME
thickness=
n
n
should be an integer from 0 to 10. 0 selects the default
thickness.
thickness=1
tickmarks=
[l,n,m]
l
,
n
and m
should be marked along the x-axis, y-axis,
and z-axis, respectively. Each tickmarks value must be a positive integer
or zero, in which case no tickmarks will drawn on the corresponding axis.
tickmarks=[5,5,5]
title=
t
titlefont=
l
titlefont=[HELVETICA,BOLDOBLIQUE,14]
tuberadius=
r
tuberadius=1.0
tubepoints=
n
n-1
equally-spaced points on its circumference, because
the first and last points coincide.
tubepoints=16
view=
zmin..zmax
or view=
[xmin..xmax,ymin..ymax,zmin..zmax]