powered by
3-dimensional plots, which can be rotated and zoomed in/out
plot3D(x,...) # S3 method for default plot3D(x,…,add=FALSE,bbox=TRUE,axes=FALSE, cex=1,size=cex,col=1)
an object to be plotted, e.g. a data frame or a data matrix
additional plotting parameters as described in rgl::rgl.material
rgl::rgl.material
logical, adding or new plot
logical, whether to add a bounding box
logical, whether to plot an axes of coordinates
size of the plotting symbol
size of the plotting symbol, only size or cex should be used
the color used for dots, defaults to black.
the 3D plotting coordinates of the objects displayed, returned invisibly
The function provides a generic interface for 3-dimensional plotting in analogy to the 2d-plotting interface of plot, using rgl package.
rgl::points3d, graphics::plot, plot3D.rmult,
rgl::points3d
graphics::plot
plot3D.rmult
plot3D.acomp,plot3D.rcomp, plot3D.aplus,plot3D.rplus
plot3D.acomp
plot3D.rcomp
plot3D.aplus
plot3D.rplus
# NOT RUN { x <- cbind(rnorm(10),rnorm(10),rnorm(10)) plot3D(x) data(SimulatedAmounts) plot3D(sa.lognormals,cex=4,col=1:nrow(sa.lognormals)) # }
Run the code above in your browser using DataLab