Display triangles mesh (2D)
trimesh(T, p)
displays the triangles defined in the m-by-3
matrix T
and points p
as a mesh. Each row of
T
specifies a triangle by giving the 3 indices of its
points in X
.
trimesh(T, p, p2, add = FALSE, axis = FALSE, boxed = FALSE, ...)
T |
T is a |
p |
A vector or a matrix. |
p2 |
if |
add |
Add to existing plot in current active device? |
axis |
Draw axes? |
boxed |
Plot box? |
... |
Parameters to the rendering device. See the rgl package. |
Raoul Grasman
#example trimesh p = cbind(x=rnorm(30), y=rnorm(30)) tt = delaunayn(p) trimesh(tt,p)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.