Possible Duplicate:
How do I edit the axes of an image in MATLAB to reverse the direction?
For an engineering plot I need to have the negative side of the y-ordinate point upward. Simply speaking, I need to invert the y-axis. How can I do that?
Possible Duplicate:
How do I edit the axes of an image in MATLAB to reverse the direction?
For an engineering plot I need to have the negative side of the y-ordinate point upward. Simply speaking, I need to invert the y-axis. How can I do that?
Programmatically, you can call
set(gca,'YDir','reverse')
Alternatively, you can select the arrow in the figure window, double-click on the axes, and click the 'reverse' checkbox in the plot editor for the y-axis.