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:

 

posted @ 2021-01-17 00:34  楚千羽  阅读(2180)  评论(0编辑  收藏  举报