Learn R Programming

DiceView (version 2.2-0)

plot2d_mesh: Plot a two dimensional mesh

Description

Plot a two dimensional mesh

Usage

plot2d_mesh(mesh, color = "black", ...)

Arguments

mesh

2-dimensional mesh to draw

color

color of the mesh

...

optional arguments passed to plot function

Examples

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

Run the code above in your browser using DataLab