How do I change the font size in my legend?
Mostra commenti meno recenti
How do I change the font size of the labels in my legend? For example, how do I make the font size of the ‘One’, ‘Two’, ‘Three’, ‘Four’ labels bigger in my plot?
plot(rand(4))
lgd=legend('One','Two','Three','Four');
Risposta accettata
Più risposte (1)
Mukesh Jadhav
il 9 Ott 2016
Here you go :
h = legend('x','y','z');
set(h,'FontSize',12);
Categorie
Scopri di più su Legend in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!