Use Latex for all fonts in plot
    44 vues (au cours des 30 derniers jours)
  
       Afficher commentaires plus anciens
    
    user20912
 le 5 Déc 2024
  
    
    
    
    
    Modifié(e) : Fintan Healy
 le 7 Déc 2024
            Hi, 
I would like to use latex on every font I use on a plot. Is there a better way to do this instead of indicating the interpreter on every line?
I already have use:
set(groot, 'defaultAxesTickLabelInterpreter','latex')
set(groot, 'defaultLegendInterpreter','latex')
which works for ticks and legend, but what about titles, numbers on colorbar and contour numbers? 
Thanks in advance,
0 commentaires
Réponse acceptée
  Fintan Healy
 le 7 Déc 2024
        
      Modifié(e) : Fintan Healy
 le 7 Déc 2024
  
      set(groot, 'DefaultTextInterpreter', 'latex')
As well as the two you set, I also set the default text interpreter
0 commentaires
Plus de réponses (0)
Voir également
Catégories
				En savoir plus sur Annotations 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!