How can I use different fonts within one axis label in MATLAB 7.13 (R2011b)?
16 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I would like to use different Fonts (like Arial and Times) in one YLabel. How can I achieve this? How can I furthermore set different font angles within one label?
Réponse acceptée
MathWorks Support Team
le 5 Avr 2012
You can achieve this by using the TeX interpreter as shown in the following example:
% set different fonts
ylabel('\fontname{Arial}This is Arial \fontname{Times}This is Times')
% set different font angles
xlabel('\bfbold text \rm\itor italic text\rm')
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Axis Labels dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!