demo03

Contents

2D Hyperrectangle [-1,1]x[0,1] - simplicial mesh

fprintf('--------------- fc_hypermesh.demos.demo03\n')
fprintf('2D Hyperrectangle [-1,1]x[0,1] - simplicial mesh\n')
fprintf('---------------\n')

Oh=fc_hypermesh.OrthMesh(2,10,'box',[-1,1;0,1]);

close all
% plot the main mesh
figure(1)
Oh.plotmesh()
legend('show')
% plot the 1-face meshes
figure(2)
Oh.plotmesh('color',[0.8,0.8,0.8])
hold on
Oh.plotmesh('m',1,'Linewidth',2,'legend',true)
axis off
% plot the 0-face meshes
figure(3)
Oh.plotmesh('m',1,'color','k')
hold on
Oh.plotmesh('m',0,'legend',true)
axis off

fc_tools.graphics.DisplayFigures()
--------------- fc_hypermesh.demos.demo03
2D Hyperrectangle [-1,1]x[0,1] - simplicial mesh
---------------
demo03-1.pngdemo03-2.pngdemo03-3.png