1 function plot_mesh_3d(X,bbox)
4 X{i}=X{i}(bbox(1):bbox(2),bbox(3):bbox(4),bbox(5):bbox(6));
7 [n(1),n(2),n(3)] = size(X{1});
13 plot3(X{1}(:,j,k),X{2}(:,j,k),X{3}(:,j,k),'color','b'),
18 plot3(X{1}(i,:,k),X{2}(i,:,k),X{3}(i,:,k),'color','b'),
21 %This creates a blue brick, and makes the meshgrid undetectable
24 % plot3(squeeze(X{1}(i,j,:)),squeeze(X{2}(i,j,:)),squeeze(X{3}(i,j,:)),'color','b'),
29 xlabel('x'), ylabel('y'), zlabel('z'),