using Check Boxes to add or REMOVE plot types from UIAxes
5 次查看(过去 30 天)
显示 更早的评论
In App Designer, I have a button which produces several types of plots onto UIaxes using hold(app.UIAxes,'on'). I am "holding on" several types of data (plot, yline,text,rectangle and contour).
After the UIAxes view is generated by pressing the button. I want to use Check Boxes in order to add additional data onto UIAxes (using additional "hold on" command onto the UIAxes, (which I suceed in doing) but what I cant do is causing somehow to delete this added data from the UIAxes by unchecking the Check Box. This is WITHOUT asking the code to completely redraw all of the original UIAxes data.
I went over all the online questions and data, I just cant figure a simple way to do it?
idealy I would be able to use 'cla' of a specific object, but it is not supported in UIAxes properties
Any idea?
Thanks!
0 个评论
回答(1 个)
Satwik Samayamantry
2023-7-7
Hi Alex, there is a similar question I can see in the forum. Have a look at the following link. I hope this solves your problem.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!