skip legend entries in property editor?
Show older comments
I have a .fig file where i'd like to delete the first 8 legend entries without effecting the other ones. Figure is attached. tried it with property editor but it doesn't work. I'm running 2017b.
Answers (1)
Bhaskar R
on 5 Mar 2020
ax = gca;
ax_data = ax.Children;
legend(ax_data(1:5), fliplr(ax.Legend.String(9:end)))
1 Comment
Martin Muehlegger
on 5 Mar 2020
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!