plot a surface
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", ...)
|
x |
the surface to plot |
vals |
the |
cmap |
a color map consisting of a vector of colors in hex format (e.g. |
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 |
see |
bgcol |
a background color or vector of colors used to shade the surface. |
... |
extra args to send to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.