I want to analyze my volume data and use SURF and ISOSURFACE functions for this purpose. I execute the following commands in MATLAB to display my data:
load my_volume_datap=0.98;figure(1);clf; isosurface(X, Y, Z, V, p);xlabel('X'); ylabel('Y'); zlabel('Z');title('Arch in X-Z plane in +Z-direction')%view([0 0]);title('X-Z plane: Arch in +Z-direction')%uncomment to view X-Z plane
figure(2);clf; surf(Z, X, squeeze(V(:,find(Y==0),:)));%obtain the X-Z data by setting Y=0.
xlabel('Z'); ylabel('X'); zlabel('scalar value');title('Arch in -Z-direction');%view([90 -90]);title('X-Z plane: Arch in -Z-direction')%uncomment to view X-Z plane
The direction of the Z-axis from the SURF plot is opposite to the direction of the Z-axis in the figure obtained from the ISOSURFACE plot.
Best Answer