plot_meshgrid: Plot a meshgrid

Description Usage Arguments See Also Examples

Description

Plots a mesh over the x-y grid with the help of persp function

Usage

1
2
3
4
plot_meshgrid(values, x.axis, y.axis, xlabel, ylabel, zlabel, main.title = "",
  plot.file = "", surface.color = "lightblue", zlim = range(values, na.rm
  = TRUE), margin = c(5 - 3, 4 - 0, 4 - 3, 2 - 2), cex.axis = 1.3,
  cex.lab = 1.5, cex = 3)

Arguments

values

the z values

x.axis, y.axis

the x-y coordinates at which z is evaluated

xlabel, ylabel, zlabel

the axis labels of x, y, z

main.title

the main title of the plot (optional)

plot.file

the file path at which the plot to be saved (optional)

surface.color

the plot surface color. The default is light blue.

zlim

the range of z values for the persp plot. The default is range(values, na.rm=TRUE)

margin

the margin for the plot

cex.axis

cex value of the axis for the plot

cex

cex value of the plot

cex.label

cex value of the x-y-z labels for the plot

See Also

persp trellis.device

Examples

1
2
3
data(meshgrid);

plot_meshgrid(values, x.axis, y.axis, "alpha", "eta", "Estimate of B(h)");

clintpgeorge/clda documentation built on May 13, 2019, 8 p.m.