Reverse the y-data in Matlab

2 views (last 30 days)
Phong Pham
Phong Pham on 13 Jan 2014
Edited: Phong Pham on 14 Jan 2014
No longer needed.

Accepted Answer

Image Analyst
Image Analyst on 13 Jan 2014
Is this what you mean?
flippedImage = flipud(originalImage);
  2 Comments
Azzi Abdelmalek
Azzi Abdelmalek on 13 Jan 2014
Edited: Azzi Abdelmalek on 13 Jan 2014
Make it clear by posting the expected result
Image Analyst
Image Analyst on 13 Jan 2014
Where are you plotting this data? Over the image itself, or in a different plot? If in a different plot, try this
set(gca, 'ydir', 'reverse');

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!