pi in xticklabel but not in other axes or title

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?

답변 (1개)

Daniel Shub
Daniel Shub 2012년 4월 16일

0 개 추천

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>>

카테고리

도움말 센터File Exchange에서 Labels and Annotations에 대해 자세히 알아보기

질문:

2012년 4월 16일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by