preSurface | R Documentation |
Selects the projection for a surface plot.
preSurface(x, y, z.surf, zaxis.log = FALSE, zaxis.range = c(NA, NA), yaxis.log = FALSE, yaxis.range = c(NA, NA), xaxis.log = FALSE, xaxis.range = c(NA, NA), xlabels = "Auto", ylabels = "Auto", zlabels = "Auto", phi = NA, theta = NA, batch = FALSE)
x |
the x-axis coordinate data, must be strictyly increasing. Missing values not permitted. May be of type Date. |
y |
the y-axis coordinate data, must be strictyly increasing. Missing values not permitted. |
z.surf |
a numeric matrix representing the surface. The length of |
zaxis.log |
logical, if |
zaxis.range |
set the range of the z-axis. |
yaxis.log |
logical, if |
yaxis.range |
set the range of the y-axis. |
xaxis.log |
logical, if |
xaxis.range |
set the range of the x-axis. |
xlabels |
set up x-axis labels. |
ylabels |
set up y-axis labels. |
zlabels |
set up z-axis labels. |
phi |
the viewing angle relative to the x-y plane. If |
theta |
the viewing angle relative to the x-axis. Positive values rotate
the x-y plane in a clock-wise direction. If |
batch |
logical or character. If logical and |
A list containg the projection information and the data for plotting. Must
be used in the call to surfacePlot
surfacePlot
## Not run: # See for examples of preSurface: vignette(topic="GraphGallery", package="smwrGraphs") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.