powered by
Plots z above xy plane as 3D mountain or 2D contourlines
zplot(x, y, z, DrawTopView = TRUE, NrOfContourLines = 20, TwoDplotter = "native", xlim, ylim)
TwoDplotter = "native", xlim, ylim)
If the plotting backend does support it, this will return a handle for the generated plot.
Vector of x-coordinates of the data. If y and z are missing: Matrix containing 3 rows, one for each coordinate
Vector of y-coordinates of the data.
Vector of z-coordinates of the data.
Optional: Boolean, if true plot contours otherwise a 3D plot. Default: True
Optional: Numeric. Only used when DrawTopView == True. Number of lines to be drawn in 2D contour plots. Default: 20
Optional: String indicating which backend to use for plotting. Possible Values: 'ggplot', 'native', 'plotly'
[1:2] scalar vector setting the limits of x-axis
[1:2] scalar vector setting the limits of y-axis
Felix pape
if (FALSE) { data("Lsun3D") Data=Lsun3D$Data if(exists("zplot", where = asNamespace("DataVisualizations"))) DataVisualizations::zplot(Data[,1],Data[,2],Data[,3]) }
Run the code above in your browser using DataLab