image upside down (including axis labels etc) using App designer: same code OK outside GUI
Show older comments
Using image(app.UIAxes,C) in draw() callback. ComponentBrowser/Axes/Rulers/YDir setting makes no difference. Changing YDir after image() line changes the displayed image, but leaves the axes upside down. No idea what [x,y]=ginput(1) is giving back - not what I wanted anyway.
2 Comments
Walter Roberson
on 23 Feb 2023
I wonder if somehow you have two axes in the same place?
DId you possibly use yyaxis ? Or did you possibly create an axes as part of the app design, but also call axes() inside your code, and so doing create a second axes?
Stuart MacGregor
on 23 Feb 2023
Moved: Voss
on 23 Feb 2023
Answers (1)
Stuart MacGregor
on 23 Feb 2023
0 votes
2 Comments
Image Analyst
on 24 Feb 2023
Similar things have been observed before:
Stuart MacGregor
on 24 Feb 2023
Categories
Find more on Interactive Control and Callbacks 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!