Usage
perspControl(theta = 1, phi = 30, r = sqrt(3), d = 1, scale = TRUE, expand = 1,
col = "white", border = NULL, ltheta = -135, lphi = 0, shade = 0.5, box = TRUE,
axes = TRUE, nticks = 5, ticktype = "simple", xlab = NULL, ylab = NULL,
zlab = NULL, main = NULL)
Arguments
theta
angles defining the azimuthal direction.
phi
angles defining the colatitude direction.
r
the distance of the eyepoint from the centre of the plotting box.
d
a value which can be used to vary the strength of the perspective transformation. Values of d greater than 1 will lessen the perspective effect and values less and 1 will exaggerate it.
scale
If scale is TRUE
the x, y and z coordinates are transformed separately. If scale is FALSE
the coordinates are scaled so that aspect ratios are retained.
expand
an expansion factor applied to the z coordinates.
col
the color(s) of the surface facets.
border
the color of the line drawn around the surface facets.
ltheta, lphi
if finite values are specified for ltheta
and lphi
, the surface is shaded as though it was being illuminated from the direction specified by azimuth ltheta
and colatitude lphi
.
shade
he shade at a surface facet
box
should the bounding box for the surface be displayed. The default is TRUE
.
axes
should ticks and labels be added to the box. The default is TRUE
.
nticks
the (approximate) number of tick marks to draw on the axes. Has no effect if ticktype is "simple".
ticktype
character: "simple" draws just an arrow parallel to the axis to indicate direction of increase; "detailed" draws normal ticks as per 2D plots.