Search code examples
matlabplotsubsetvisualizationmatlab-figure

How to delete a single point on a Matlab figure? preferably by GUI


Consider the following plot:

plot

My data points are too dense, and I would like to hide or delete some of them points to make the chart clearer. How can I do this without without recomputing the data and re-plotting the figure (which is time-consuming)?


Solution

  • The simplest way:

    1. Click button "Brush/Select Data"
    2. Select Points
    3. Right Click mouse
    4. Choose "Remove"

    In this way, the line continuity is retained and no coding is needed.