2D Hyperrectangle [-1,1]x[0,1] meshing by orthotope

fprintf('--------------- demo04\n')
fprintf('2D Hyperrectangle [-1,1]x[0,1] meshing by orthotope\n')
fprintf('---------------\n')

Oh=OrthMesh(2,[10,7],'box',[-1,1;0,1],'type','orthotope');
% plot the main mesh
figure(1)
Oh.plotmesh('legend',true)
% 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
--------------- demo04
2D Hyperrectangle [-1,1]x[0,1] meshing by orthotope
---------------