Description Usage Arguments Details Value Author(s) See Also Examples
This function renders raster and point data in three-dimensional (3D) space.
1 2 3 |
r |
RasterLayer. Gridded surface data |
p |
SpatialPointsDataFrame. Spatial point data |
xlim |
numeric. Vector of length 2 giving the minimum and maximum values for the x-axis. |
ylim |
numeric. Vector of length 2 giving the minimum and maximum values for the y-axis. |
zlim |
numeric. Vector of length 2 giving the minimum and maximum values for the z-axis. |
vasp |
numeric. The z/x aspect ratio for spatial axes. |
hasp |
numeric.
The y/x aspect ratio for spatial axes.
Defaults to 1 (one unit on the x-axis equals one unit on the y-axis) when |
cex.pts |
numeric. Amount by which point symbols should be magnified relative to the default. |
n |
integer. Number of contour levels desired. |
color.palette |
function. Color palette to be used to assign colors in the plot. |
maxpixels |
integer. Maximum number of cells to use for the plot. |
The interpolated surface is rendered using rgl, a 3D visualization device system for R based on OpenGL. The mouse is used for interactive viewpoint navigation where the left, right, and center mouse buttons rotate the scene, rotate the scene around the x-axis, and zooms the display, respectively.
Used for the side-effect of a new plot generated.
J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center
1 2 3 4 5 | ## Not run:
Plot3d()
rgl::rgl.quit()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.