- It will save the final values
- It will jump to the next plot if there is a next plot
How to dynamically define limits for multiple plots from user input in app designer?
3 次查看(过去 30 天)
显示 更早的评论
Hi All
I want to have a sort of While loop in my app designer, that untill app doesn't receive OK from the user, it prompts the axis limits from the user and each time correct the plot so the plot could be visually checked and confirmed.
my problem is : I have several files , and each one have 6 columns, so I should make 6 plots out of each file, and for each plot , I should manually check the limits and give ok to jump to the next plot and then to the next file. I don't want to make this jumps manually but only defining the limits. how do I do this ?
0 个评论
采纳的回答
Mohammad Sami
2020-9-3
Instead of having a while loop you can simply have numeric edit fields with callbacks and an ok button with callback.
Once the user edits the field, the callback will updated the axis limit.
Once the user is happy they can click the ok button.
The ok button callback will do two things
Thereafter the cycle can repeat again until you are out of plots to check
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Line Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!