How to delete some items in matlab plot
1 view (last 30 days)
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?
Answers (2)
Walter Roberson
on 10 Feb 2013
set(get(get(hPLOTHANDLE,'Annotation'),'LegendInformation',),...
'IconDisplayStyle','off');
0 Comments
Image Analyst
on 10 Feb 2013
Why not just reissue the legend() command with the desired strings?
0 Comments
See Also
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!