How to delete all lines using line()
Show older comments
Hello everyone,
I have a simple question: is it possible to delete all lines (I mean, using the function line()) and not the rest of plots in an axes gui?
I am making a cursor and I am using the function line() to draw it. I have a little problem in my code, so I thought delete all my lines and then draw the lines that I need.
I can't use in my case: if ishandle(cursor) delete(cursor) end
Any advice?
Thank you in advance
Accepted Answer
More Answers (0)
Categories
Find more on Specifying Target for Graphics Output in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!