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
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 についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!