plot_interactive_3d: 3d scatterplot

View source: R/plot_interactive_3d.R

plot_interactive_3dR Documentation

3d scatterplot

Description

Creates an interactive 3d scatterplot

Usage

plot_interactive_3d(x, y, z, ...)

Arguments

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

Value

a 3d scatter plot

References

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).

Examples

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")


KiranLDA/PAMLr documentation built on March 6, 2023, 1:40 p.m.