image upside down (including axis labels etc) using App designer: same code OK outside GUI
古いコメントを表示
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?
Stuart MacGregor
2023 年 2 月 23 日
移動済み: Voss
2023 年 2 月 23 日
回答 (1 件)
Stuart MacGregor
2023 年 2 月 23 日
0 投票
2 件のコメント
Image Analyst
2023 年 2 月 24 日
Similar things have been observed before:
Stuart MacGregor
2023 年 2 月 24 日
カテゴリ
ヘルプ センター および 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!