How to delete some items in matlab plot
Show older comments
I have a plot and I want to delete some items from the legend. Is there anyway to do this in the plot editor ?
thanks
2 Comments
Azzi Abdelmalek
on 10 Feb 2013
Can you explain exactly your problem? why add some legends, then remove them?
Ede gerlderlands
on 10 Feb 2013
Answers (2)
Walter Roberson
on 10 Feb 2013
set(get(get(hPLOTHANDLE,'Annotation'),'LegendInformation',),...
'IconDisplayStyle','off');
Image Analyst
on 10 Feb 2013
0 votes
Why not just reissue the legend() command with the desired strings?
Categories
Find more on Legend in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!