How to change the order of the Y axis and not flip the image?
5 views (last 30 days)
Show older comments
Pasindu Samaranayake
on 17 Jul 2018
Commented: Pasindu Samaranayake
on 17 Jul 2018

I need to flip just the y axis and not the image itself. I'm using the image function to plot this image, however due to the way matlab reads images, it results in the Y axis being from top to bottom. I tried using (set(gca,'YDir','normal')) but this flips the image too. Is there a way to just flip the Yaxis? Any help would be appreciated.
0 Comments
Accepted Answer
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!