How to delete some items in matlab plot
1 次查看(过去 30 天)
显示 更早的评论
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?
回答(2 个)
Walter Roberson
2013-2-10
set(get(get(hPLOTHANDLE,'Annotation'),'LegendInformation',),...
'IconDisplayStyle','off');
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Legend 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!