How to delete a plotted curve which mouse clicked?

8 views (last 30 days)
I want to delete the choosen curve which has plotted on the axes.
  3 Comments
Wenlong Zhang
Wenlong Zhang on 2 Feb 2021
Thanks for your seggestion, but clf will delete all the curves. There are several curves on the axes; I want only delete the curve which mouse clicked on.

Sign in to comment.

Accepted Answer

Mario Malic
Mario Malic on 2 Feb 2021
Hi,
There's a button on the figure frame, second from the right, it says 'Edit Plot'. Click it, and then click the curve and press Delete button.

More Answers (0)

Products


Release

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!