plot.fm_mesh_2d | R Documentation |
Plots an fm_mesh_2d()
object using standard graphics.
## S3 method for class 'fm_mesh_2d'
lines(x, ..., add = TRUE)
## S3 method for class 'fm_mesh_2d'
plot(
x,
col = "white",
t.sub = seq_len(nrow(x$graph$tv)),
add = FALSE,
lwd = 1,
xlim = range(x$loc[, 1]),
ylim = range(x$loc[, 2]),
main = NULL,
size = 1,
draw.vertices = FALSE,
vertex.color = "black",
draw.edges = TRUE,
edge.color = rgb(0.3, 0.3, 0.3),
draw.segments = draw.edges,
rgl = deprecated(),
visibility = "front",
asp = 1,
axes = FALSE,
xlab = "",
ylab = "",
...
)
x |
An |
... |
Further graphics parameters, interpreted by the respective plotting systems. |
add |
If |
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. |
lwd |
Line width for triangle edges. |
xlim |
X-axis limits. |
ylim |
Y-axis limits. |
main |
Deprecated. |
size |
argument |
draw.vertices |
If |
vertex.color |
Color specification for all vertices. |
draw.edges |
If |
edge.color |
Color specification for all edges. |
draw.segments |
If |
rgl |
Deprecated |
visibility |
If "front" only display mesh faces with normal pointing towards the camera. |
asp |
Aspect ratio for new plots. Default 1. |
axes |
logical; whether axes should be drawn on the plot. Default FALSE. |
xlab , ylab |
character; labels for the axes. |
None
Finn Lindgren finn.lindgren@gmail.com
plot.fm_segm()
, plot_rgl.fm_mesh_2d()
mesh <- fm_rcdt_2d(globe = 10)
plot(mesh)
mesh <- fm_mesh_2d(cbind(0, 1), offset = c(1, 1.5), max.edge = 0.5)
plot(mesh)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.