The dialog box shown below is displayed to erase curves.
You can erase all curves, or all invisible
which is the curves that are not checked in the legend list (to display the
legend list, right click in the plot and make sure is checked.) You may also erase
all visible curves.