Plot2d(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, add.contour.lines = FALSE, rm.pnt.line = FALSE)x coordinates for the plot. If x is
  a data frame, its components x$x, x$y, x$z, x$vx,
  and x$vy are used for x, y, z, vx, and
  vy, respectively.y coordinates for the plot.x and y directions.x limits (x1,x2) for the plot.y limits (y1,y2) for the plot.z limits (z1,z2) for the plot.x and y axis.z legend.y/x aspect ratio.TRUE the legend key is reversed with z
  values descending from top to bottom; its default is FALSE.TRUE all arrow lengths are set equal; its
  default is FALSE.x
  and 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.TRUE and type is either "l"
  or "g" than contour lines are drawn; its default is FALSE.TRUE the line boundary on point symbols is
  not drawn; its default is FALSE.x and y should be equal to the nrow(z)
and ncol(z), respectively.
filled.contour, image, arrows,
AddAxis
data(ex.project)
d <- ex.project$data.pts
Plot2d(d, type = "p")
d <- ex.project$data.grd
Plot2d(d, type = "l")
Plot2d(d, type = "g")
Run the code above in your browser using DataLab