How do I flip an axis using imagesc?
Show older comments
I want to display the Matrix eta (7x16) by using the imagesc function. I use the code:
T=[360 660]
p=[64 250]
imagesc(T,p,eta)
which produces the follwing image:

Now I want to flip the y-axis so that 50 is at the bottom and 250 is at the top. The Image should flip as well. Using
eta=flipud(eta)
T=[360 660]
p=[64 250]
p=fliplr[p]
imagesc(T,p,eta)
doesn't work. Thank you!
Accepted Answer
More Answers (0)
Categories
Find more on Images in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!