matlab绘图时输入上下标-斜体-特殊符号的方法


参考网址:https://ww2.mathworks.cn/help/matlab/creating_plots/greek-letters-and-special-characters-in-graph-text.html?searchHighlight=latex&s_tid=srchtitle

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 for example:

x=linspace(0,2*pi);
plot(x,sin(x));
title('x~{\chi}_{\alpha}^{2}(3)');
xlabel('(t_{2}^{2}-t_{4}^{2})/t_{4}^{2}');

figure is that:

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM