Help, How can I write the symbol " theta" in Matlab
147 次查看(过去 30 天)
显示 更早的评论
Hi friends, I have a problem with a graphical presentation of my results in Matlab. I will write a symbol theta on the Y axis ( Dimensionless temperature ) but when I put it in my code it will show me "?" I don't know why...! Besides, I searched on the internet, ho, someone tells me that I have to use the code "Asci" but I don't know how doing it. ??? help me please
program figure(7); plot(x,TF,'-r','linewidth',1.5) hold on plot(x,TS,'-k','linewidth',1.5) xlabel('length ','FontSize',12) ylabel('Dimensionless temperature ','FontSize',12) legend('Thetaf','Thetas',1)
0 个评论
采纳的回答
更多回答(1 个)
José-Luis
2017-8-8
aH = axes;
plot(rand(10,1));
aH.XLabel.Interpreter = 'Latex';
aH.XLabel.String = '$\theta$';
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!