plot2d_mesh: Plot a two dimensional mesh

View source: R/mesh_set.R

plot2d_meshR Documentation

Plot a two dimensional mesh

Description

Plot a two dimensional mesh

Usage

plot2d_mesh(
  mesh,
  color.nodes = "black",
  color.mesh = "darkgray",
  alpha = 0.4,
  ...
)

Arguments

mesh

2-dimensional mesh to draw

color.nodes

color of the mesh nodes

color.mesh

color of the mesh elements

alpha

transparency of the mesh elements & nodes

...

optional arguments passed to plot function

Examples

plot2d_mesh(mesh_exsets(f = function(x) sin(pi*x[1])*sin(pi*x[2]),
                        threshold=0,sign=1, mesh.type="unif",mesh.size=11,
                        intervals = matrix(c(1/2,5/2,1/2,5/2),nrow=2)))

IRSN/DiceView documentation built on Jan. 31, 2024, 10:09 a.m.