View source: R/plot_interactive_3d.R
plot_interactive_3d | R Documentation |
Creates an interactive 3d scatterplot
plot_interactive_3d(x, y, z, ...)
x |
data to plot on x axis |
y |
data to plot on y axis |
z |
data to plot on z axis |
... |
any additional parameters used by rgl::plot3d |
a 3d scatter plot
Adler, D., Nenadic, O. and Zucchini, W., 2003, March. Rgl: A r-library for 3d visualization with opengl. In Proceedings of the 35th Symposium of the Interface: Computing Science and Statistics, Salt Lake City (Vol. 35).
data("swift")
start = as.POSIXct("2016-09-01","%Y-%m-%d", tz="UTC")
end = as.POSIXct("2017-04-15","%Y-%m-%d", tz="UTC")
swift = create_crop(swift, start, end)
PAM_data = swift
calibration = calculate_triaxial_magnetic(dta = PAM_data$magnetic)
plot_interactive_3d(PAM_data$magnetic$mX, PAM_data$magnetic$mY, PAM_data$magnetic$mZ,
xlab= "X", ylab= "Y", zlab= "Z")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.