pi in xticklabel but not in other axes or title
Mostrar comentarios más antiguos
Alright I'm able to use pi's in my xticklabels using set(gca,'FontName','symbol') but now my title is also using greek. Furthermore, the scaling factor of the y-axis (x 10^4) is read \xi 10^4, also using greek. How can I use greek font for the x-axis only?
Respuestas (1)
Daniel Shub
el 16 de Abr. de 2012
0 votos
You cannot have a different font for the title and tick marks easily. You can overlay 2 axes on top of each other with each having a different font. If all you want is the pi symbol you can make use of the unicode support included in MATLAB. Just ask for the pi symbol. See: href=""<http://www.mathworks.com/matlabcentral/answers/16464-greek-letters-in-a-static-text-gui</a>>
Categorías
Más información sobre Labels and Annotations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!