Clear the rgl or plotly 3D scene
nclear3d(..., plotengine = getOption("nat.plotengine"))
Additional arguments passed to
rgl::clear3d
the plotting backend engine to use either 'rgl' or 'plotly'.
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
.
# \donttest{
nclear3d()
plot3d(Cell07PNs[[1]])
# }