zplot {DataVisualizations} | R Documentation |
Plotting for 3 dimensional data
Description
Plots z above xy plane as 3D mountain or 2D contourlines
Usage
zplot(x, y, z, DrawTopView = TRUE, NrOfContourLines = 20,
TwoDplotter = "native", xlim, ylim)
Arguments
x |
Vector of x-coordinates of the data. If y and z are missing: Matrix containing 3 rows, one for each coordinate |
y |
Vector of y-coordinates of the data. |
z |
Vector of z-coordinates of the data. |
DrawTopView |
Optional: Boolean, if true plot contours otherwise a 3D plot. Default: True |
NrOfContourLines |
Optional: Numeric. Only used when DrawTopView == True. Number of lines to be drawn in 2D contour plots. Default: 20 |
TwoDplotter |
Optional: String indicating which backend to use for plotting. Possible Values: 'ggplot', 'native', 'plotly' |
xlim |
[1:2] scalar vector setting the limits of x-axis |
ylim |
[1:2] scalar vector setting the limits of y-axis |
Value
If the plotting backend does support it, this will return a handle for the generated plot.
Author(s)
Felix pape
Examples
[Package DataVisualizations version 1.3.2 Index]