Clear the rgl or plotly 3D scene

nclear3d(..., plotengine = getOption("nat.plotengine"))

Arguments

...

Additional arguments passed to rgl::clear3d

plotengine

the plotting backend engine to use either 'rgl' or 'plotly'.

Details

rgl and plotly have quite different models for how to handle the active plot. nclear3d and nopen3d allow you to treat them more similarly. Use them wherever you use the rgl clear3d and open3d commands and your could she be able to run with both plotly or rgl as the plotengine.

Examples


# \donttest{
nclear3d()
plot3d(Cell07PNs[[1]])
# }