How can I delete legends from a plot or subplot?
Ältere Kommentare anzeigen
When I plot the model returned by the "fitlm" function, a legend is automatically added to the plot. I am creating multiple subplots, and would like to remove repetitive legends. How can I do this?
Akzeptierte Antwort
Weitere Antworten (1)
Open your figure and type in the command line:
legend('hide')
If you have many figures, put this in a loop and save the figure after hiding the legend.
1 Kommentar
Deniz Baturay
am 27 Mär. 2016
Kategorien
Mehr zu Legend finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!