nclear3d: Clear the rgl or plotly 3D scene

View source: R/neuron-plot.R

nclear3dR Documentation

Clear the rgl or plotly 3D scene

Description

Clear the rgl or plotly 3D scene

Usage

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.

See Also

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

Examples



nclear3d()
plot3d(Cell07PNs[[1]])


natverse/nat documentation built on Feb. 19, 2024, 7:19 a.m.