subset.hxsurf | R Documentation |
Subset hxsurf object to specified regions
## S3 method for class 'hxsurf'
subset(x, subset = NULL, drop = TRUE, rval = c("hxsurf", "names"), ...)
x |
A dotprops object |
subset |
Character vector specifying regions to keep. Interpreted as
|
drop |
Whether to drop unused vertices after subsetting (default:
|
rval |
Whether to return a new |
... |
Additional parameters (currently ignored) |
subsetted hxsurf object
Other hxsurf:
as.hxsurf()
,
as.mesh3d()
,
materials()
,
plot3d.hxsurf()
,
read.hxsurf()
,
write.hxsurf()
# plot only vertical lobe
vertical_lobe=subset(MBL.surf, "VL")
plot3d(vertical_lobe, alpha=0.3)
plot3d(kcs20)
# there is also a shortcut for this
clear3d()
plot3d(MBL.surf, "VL", alpha=0.3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.