Learn R Programming

fdaPDE (version 1.1-21)

plot.mesh.3D: Plot a mesh.3D object

Description

Plot a mesh.3D object, generated by create.mesh.3D.

Usage

# S3 method for mesh.3D
plot(x, ...)

Value

No return value

Arguments

x

A mesh.3D object generated by create.mesh.3D.

...

Arguments representing graphical options to be passed to par.

Examples

Run this code
library(fdaPDE)

##Load the matrix nodes and tetrahedrons
data(sphere3Ddata)

nodes = sphere3Ddata$nodes
tetrahedrons = sphere3Ddata$tetrahedrons

##Create the triangulated mesh from the connectivity matrix and nodes locations
mesh = create.mesh.3D(nodes,tetrahedrons)

##Plot the triangulation of the object
plot(mesh)

Run the code above in your browser using DataLab