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

View source: R/plot.R

plot.mesh.2DR Documentation

Plot a mesh.2D object

Description

Plot a mesh.2D object, generated by create.mesh.2D or refine.mesh.2D.

Usage

## S3 method for class 'mesh.2D'
plot(x, ...)

Arguments

x

A mesh.2D object defining the triangular mesh, as generated by create.mesh.2D or refine.mesh.2D.

...

Arguments representing graphical options to be passed to par.

Value

No return value

Examples

library(fdaPDE)

## Upload the quasicirle2D data
data(quasicircle2D)
boundary_nodes = quasicircle2D$boundary_nodes
boundary_segments = quasicircle2D$boundary_segments
locations = quasicircle2D$locations
data = quasicircle2D$data

## Create mesh
mesh = create.mesh.2D(nodes = rbind(boundary_nodes, locations), segments = boundary_segments)

## Plot the mesh
plot(mesh)

fdaPDE documentation built on March 7, 2023, 5:28 p.m.