plot: plot a surface

Description Usage Arguments

Description

plot a surface

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## S4 method for signature 'SurfaceGeometry,missing'
plot(x, vals = NA,
  cmap = grDevices::gray(seq(0, 1, length.out = 255)),
  vert_clrs = NULL, irange = range(vals), thresh = c(0, 0),
  alpha = 1, specular = "black", bgcol = "lightgray", ...)

## S4 method for signature 'NeuroSurface,missing'
plot(x, cmap = grDevices::gray(seq(0, 1,
  length.out = 255)), vert_clrs = NULL, irange = range(x@data, na.rm =
  TRUE), thresh = c(0, 0), alpha = 1, specular = "black",
  bgcol = "lightgray", ...)

## S4 method for signature 'LabeledNeuroSurface,missing'
plot(x, cmap = x@cols,
  vert_clrs = NULL, irange = range(x@data, na.rm = TRUE),
  thresh = c(0, 0), alpha = 1, specular = "black",
  bgcol = "lightgray", ...)

Arguments

x

the surface to plot

vals

the vector of values at each surface node in x

cmap

a color map consisting of a vector of colors in hex format (e.g. gray(n=255))

vert_clrs

optional vertex colors in hex format

irange

the intensity range indicating the low and high values of the color scale.

thresh

a 2-element vector indicating the lower and upper transparency thresholds.

alpha

the foreground trasnparency, default is 1 (opaque).

specular

seergl material3d

bgcol

a background color or vector of colors used to shade the surface.

...

extra args to send to view_surface


bbuchsbaum/neurosurf documentation built on April 6, 2021, 10:08 a.m.