plot_mesh | R Documentation |
Plot a one dimensional mesh
plot_mesh(
mesh,
y = 0,
color.nodes = "black",
color.mesh = "darkgray",
alpha = 0.4,
...
)
mesh |
1-dimensional mesh to draw |
y |
ordinate value where to draw the mesh |
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 |
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)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.