guys plz if anyone can open my project and tell me the problem i would really appreciate it
1 次查看(过去 30 天)
显示 更早的评论
so im working on appdesigner and i imported an image just fine and it turned green,red all as the button says suddenly it stoped working and nothing would show im genuienly confused, another thing is in the left side of the interface (the side with the import button )thats where the problem is the left side of the interface is when i import another image it still adds the changes t the first image imported plz guys i would honestly appreciate the help and thank u in advance
here is my app file
0 个评论
采纳的回答
Image Analyst
2022-11-30
After I imported an image it looked fine. It didn't turn all red or green.
Don't set XData and yData in imshow.
Don't set the xlim of the axes, just do
axis('on', 'image');
Don't have users browse to import an image. Just load up all the images in a listbox so they can simply click on the one they want - it's far simpler and kinder to your user.
1 个评论
Walter Roberson
2022-11-30
If it is App Designer then you should name the axes being affected; otherwise you might end up creating a new axes.
axis(app.UIAxes3, 'on', 'image'); %for example
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!