pi in xticklabel but not in other axes or title
Ältere Kommentare anzeigen
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?
Antworten (1)
Daniel Shub
am 16 Apr. 2012
0 Stimmen
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>>
Kategorien
Mehr zu Labels and Annotations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!