Description Usage Arguments Author(s) See Also Examples
Plots an inla.mesh
object using either standard graphics
or with rgl
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## S3 method for class 'inla.mesh'
plot(x,
col = "white",
t.sub = 1:nrow(mesh$graph$tv),
add = FALSE,
lwd = 1,
xlim = range(mesh$loc[, 1]),
ylim = range(mesh$loc[, 2]),
main = NULL,
rgl = FALSE,
size = 2,
draw.vertices = FALSE,
vertex.color = "black",
draw.edges = TRUE,
edge.color = rgb(0.3, 0.3, 0.3),
draw.segments = draw.edges, ...)
|
x |
An |
col |
Color specification. A single named color, a vector of scalar values,
or a matrix of RGB values. Requires |
t.sub |
Optional triangle index subset to be drawn. |
add |
If |
lwd |
Line width for triangle edges. |
xlim |
X-axis limits. |
ylim |
Y-axis limits. |
main |
The main plot title. If not specified, a default title is generated based on the mesh type. |
rgl |
When |
size |
Size of vertex points in |
draw.vertices |
If |
vertex.color |
Color specification for all vertices. |
draw.edges |
If |
edge.color |
Color specification for all edges. |
draw.segments |
If |
... |
Further graphics parameters, interpreted by the respective plotting systems. |
Finn Lindgren finn.lindgren@gmail.com
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.