plot - MATLAB slice function z-axis label reverse -
i'm using slice
function 3 dimensional plot shown below
z-axis labeled 'thickness'.
what should if want see 0 z-axis @ top , 6 @ bottom?
set(gca,'zdir','reverse');
from official documentation:
'reverse'
— reverse direction of increasing values:x-axis values decrease left right.
y-axis values decrease bottom top (2-d view) or front (3-d view).
z-axis values decrease pointing out of screen (2-d view) or bottom top (3-d view).
Comments
Post a Comment