surf3d: A three dimensional plot function

Description Usage Arguments

Description

The function persp is the base graphics function for creating wireframe surface plots. adopted from http://www.r-bloggers.com/creating-surface-plots/ The persp function requires a list of x and y values covering the grid of vertical values which is specified as the z variable. The heights for the display are specified as a table of values which we saved previously as the object z during the calculations when the local trend surface model was fitted to the data.

Usage

1
2
3
4
5
surf3d(x, y, z, xlab = "X Coordinate (feet)", ylab = "Y Coordinate (yyy)",
  border = NA, zlab = "Elevation", main = "Surface elevation data",
  phi = 45, theta = 45, ncut = 100, scheme = c("purple4", "blue4",
  "blue1", "green3", "yellowgreen", "yellow2", "sandybrown", "red", "darkred"),
  type = "rgb")

Arguments

x
y

a boolean variable deciding if the box should be horizontal

z

e if an outline

border

border of lines

phi
theta

The function arguments phi and theta are used to rotate the viewing angle of the surface

box

should hte bounding box for the surface be displayed


kevinlzheng/RegR documentation built on May 20, 2019, 9:07 a.m.