PlotSurface2d(x = NULL, y = NULL, z = NULL, vx = NULL, vy = NULL,
type = "p", xlim = NULL, ylim = NULL, zlim = NULL,
xlab = NULL, ylab = NULL, zlab = NULL, asp = NA,
csi = NA, width = 7, pointsize = 12, cex.pts = 1,
nlevels = 20, rkey = FALSE,
color.palette = terrain.colors,
vuni = FALSE, vmax = NULL, vxby = NULL, vyby = NULL,
axis.side = 1:2, minor.ticks = FALSE,
ticks.inside = FALSE)
x
coordinates for the plot. If x
is
a list, its components x$x
, x$y
, x$z
, x$vx
, and
x$vy
are used for x
, y
, <y
coordinates for the plot.type = "p"
).x
direction (optional).y
direction (optional).x
limits (x1,x2)
for the plot.y
limits (y1,y2)
for the plot.z
limits (z1,z2)
for the plot.x
axis.y
axis.z
legend.y/x
aspect ratio.TRUE
the legend key is reversed with z
values descending from top to bottom.TRUE
all arrow lengths are set equal.x
direction.y
direction.TRUE
minor tickmarks are added to the
plot; its default is FALSE
.TRUE
tickmarks are placed inside the
plot region; its default is FALSE
.filled.contour
, image
, arrows
,
AddAxis
data(project)
d <- Data("data.pts")
PlotSurface2d(d, type = "p")
d <- Data("data.grd")
PlotSurface2d(d, type = "l")
PlotSurface2d(d, type = "g")
Run the code above in your browser using DataLab