plot3d(x, ...)
## S3 method for class 'default':
plot3d(x, y, z,
xlab, ylab, zlab, type = "p", col,
add = FALSE, aspect = !add, ...)
## S3 method for class 'qmesh3d':
plot3d(x, xlab = "x", ylab = "y", zlab = "z", type = c("shade", "wire", "dots"),
add = FALSE, ...)
decorate3d(xlim, ylim, zlim,
xlab = "x", ylab = "y", zlab = "z",
box = TRUE, axes = TRUE, main = NULL, sub = NULL,
top = TRUE, aspect = FALSE, ...)xyz.coords
for details.z=0, and 'n' for nothing. For the qmesh3d method, one of
'spar3d, material3d
or decorate3d.plot3d is called for the side effect of drawing the plot; no useful value is returned.
decorate3d adds the usual decorations to a plot: labels, axes, etc.plot3d is a partial 3D analogue of plot.default.Note that since rgl does not currently support
clipping, all points will be plotted, and xlim, ylim, and zlim
will only be used to increase the respective ranges.
Missing values in the data are not currently supported.
If aspect is TRUE, aspect ratios of c(1,1,1) are passed to
aspect3d. If FALSE, no aspect adjustment is done. In other
cases, the value is passed to aspect3d.
plot.default,
open3d, par3d.open3d()
x <- sort(rnorm(1000))
y <- rnorm(1000)
z <- rnorm(1000) + atan2(x,y)
plot3d(x, y, z, col=rainbow(1000), size=2)Run the code above in your browser using DataLab