image upside down (including axis labels etc) using App designer: same code OK outside GUI
7 次查看(过去 30 天)
显示 更早的评论
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 个评论
Walter Roberson
2023-2-23
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?
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!