plot_mesh: Plot a one dimensional mesh

View source: R/mesh_set.R

plot_meshR Documentation

Plot a one dimensional mesh

Description

Plot a one dimensional mesh

Usage

plot_mesh(mesh, y = 0, color = "black", ...)

Arguments

mesh

1-dimensional mesh to draw

y

ordinate value where to draw the mesh

color

color of the mesh

...

optional arguments passed to plot function

Examples

plot_mesh(mesh_exsets(function(x) x, threshold=.51, sign=1, intervals=rbind(0,1)))
plot_mesh(mesh_exsets(function(x) (x-.5)^2, threshold=.1, sign=-1, intervals=rbind(0,1)))

DiceView documentation built on Jan. 17, 2023, 1:09 a.m.