PlotSurface3d(x = NULL, y = NULL, z = NULL, px = NULL, py = NULL,
pz = NULL, xlim = NULL, ylim = NULL, zlim = NULL,
vasp = NA, hasp = NA, width = 7, ppi = 96,
cex.pts = 1, nlevels = 20,
color.palette = terrain.colors,
mouse.mode = c("trackball", "zAxis", "zoom"),
bg = "white")
x
is a list, its
components x$x
and x$y
are used for x
and y
,
respectx
coordinates for points in the plot.
If px
is a list, its components px$px
, px$py
and
px$pz
are used for px
, py
and pz
, ry
coordinates for points in the plot.z
coordinates for points in the plot.x
limits (x1,x2)
for the plot.y
limits (y1,y2)
for the plot.z
limits (z1,z2)
for the plot.z/x
aspect ratio.y/x
aspect ratio.par3d
.surface3d
, points3d
data(project)
d <- Data("data.grd")
PlotSurface3d(d)
rgl.quit()
Run the code above in your browser using DataLab