How to remove a specific Marker on a plot? Redrawing entire plot is time consuming.

I have a Mapaxes, on which i am drawing line a and markers. How to delete some of the markers from the plot without redrawing full map axes? (Markers are added using "plotm()")

1 Comment

are the markers added to the plot one by one in separate plotm calls? Or are you plotm vectors of locations and hope to turn off some of the markers selectively? should the points corresponding be deleted as well (possibly breaking a line)

Sign in to comment.

Answers (1)

Click on the edit plot (arrow symbol) of the plot....now click on the marker which you want....it will be selected..now right click..and select delete

1 Comment

my plot is in my window created using GUIDE. I dont have edit/delete buttons.

Sign in to comment.

Categories

Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange

Products

Release

R2017a

Asked:

on 5 Oct 2018

Commented:

on 5 Dec 2018

Community Treasure Hunt

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

Start Hunting!