If you capture the chart line object for each plot, you could use that with the delete function to remove just that line from the plot. btw, it's best practice to always pairhold onwith a correspondinghold off. Here's a simple example. ...
Access the complimentary competition license by completing asoftware request form. The license includes MATLAB, Simulink, and RoadRunner. Note that the RoadRunner license number is different from that of other products. Return to the SAE AutoDrive Challenge page ...