mfc-hypermesh : simplicial mesh of a 2d hypercube

Contents

Generating the mesh by using OrthMesh object

Oh=OrthMesh(2,10,'box',[-1 1;-2 2],'type','simplicial');

Representation of the mesh

figure(1)
Oh.plot('legend',true)

Representation of all the 1-faces meshes

figure(2)
Oh.plot('color',[0.8,0.8,0.8])
hold on
Oh.plot('m',1,'legend',true)
axis off

Representation of all the 0-faces meshes

figure(3)
Oh.plot('color',[0.8,0.8,0.8])
hold on
Oh.plot('m',1,'color','k')
Oh.plot('m',0,'legend',true)
axis off