[Solved] To reverse the values from up to down and change y-axis too in Matlab [duplicate]


To change direction of y axis, including axis labels and plotted values, you use

set(gca,'YDir','reverse')

When you plot an image, for example using imagesc, the YDir property is automatically set to reverse. So, to change it, set it to normal:

set(gca,'YDir','normal')

2

solved To reverse the values from up to down and change y-axis too in Matlab [duplicate]