How to display Greek characters under each barchart culumn?
显示 更早的评论
Hi
I want to the assign greek character below each bar chart column. However, it is not displaying the greek characters
The example of the code is below:
Number=[10 30 50 60 18 20]
bar(Number)
set(gca,'xticklabel',{'\alpha','M_{q}','M_n','Z_alpha','zeta','\omega'})
Hear from you people!
采纳的回答
更多回答(1 个)
yashvin
2014-11-1
0 个投票
1 个评论
the cyclist
2014-11-1
What do you get for
get(gca,'TickLabelInterpreter')
Try
set(gca,'TickLabelInterpreter','tex')
类别
在 帮助中心 和 File Exchange 中查找有关 Labels and Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
