Skip to contents

Plot method for SurfaceSet objects

Usage

# S3 method for class 'SurfaceSet'
plot(x, y, label = NULL, ...)

Arguments

x

A SurfaceSet.

y

Ignored (for S3 compatibility).

label

Optional surface label to display; defaults to the set's default.

...

Additional arguments passed to view_surface.

Value

Invisibly returns the object ID(s) from the RGL scene.

Examples

# \donttest{
geom <- example_surface_geometry()
ss <- surface_set(inflated = geom)
plot(ss)
#> Warning: no non-missing arguments to min; returning Inf
#> Warning: no non-missing arguments to max; returning -Inf


# }