Clear the rgl or plotly 3D scene

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

Arguments

... Additional arguments passed to rgl::clear3d 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.

rgl::clear3d, plot3d, plot3d.neuronlist, nopen3d

# }