How to delete some items in matlab plot
显示 更早的评论
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 个评论
Azzi Abdelmalek
2013-2-10
Can you explain exactly your problem? why add some legends, then remove them?
Ede gerlderlands
2013-2-10
回答(2 个)
Walter Roberson
2013-2-10
set(get(get(hPLOTHANDLE,'Annotation'),'LegendInformation',),...
'IconDisplayStyle','off');
Image Analyst
2013-2-10
0 个投票
Why not just reissue the legend() command with the desired strings?
类别
在 帮助中心 和 File Exchange 中查找有关 Legend 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!