Description Usage Arguments See Also Examples
Plots a mesh over the x-y
grid with the help of
persp
function
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)
|
values |
the z values |
x.axis, y.axis |
the |
xlabel, ylabel, zlabel |
the axis labels of |
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 |
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 |
1 2 3 | data(meshgrid);
plot_meshgrid(values, x.axis, y.axis, "alpha", "eta", "Estimate of B(h)");
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.