在Matlab中的平方根符号标签

use*_*929 7 matlab

如何在图例中找到平方根符号?我试过\ surd,但没有考虑我在这个符号下面的表达.\ sqrt和\ square根本不起作用.

m=[2 4.8 7 9.1 11.5 15 20 29 59 90 130 190 250];
size(Te);
s=0:0.02:0.246;
size(s);
E0=0.1;
t0=0.05;
f=0.01;
I0=2e9;
I1=1e14.*[m./(3680.*(1.08)^(1./3))].^(1.5);
hold on
Ifitting=I0./(sqrt(2.*pi).*f).*exp(-[s-t0].^2./(2.*f.^2));
[ay,h1,h2]=plotyy(s.*1e6,I1,s.*1e6,Ifitting,'loglog','plot')
axes(ay(1)); ylabel(' Intensity');
axes(ay(2)); ylabel('Intensity [fitting]');
set(ay(1),'Ylim',[0 2e12])
set(ay(2),'Ylim',[0 2e12])
xlabel('time [\mu m]','FontSize',16,'FontName','Times-Roman');
set([h1],'marker','o')
set([h2],'marker','o')
b=legend([h1 h2], ['I=10^{14}'],['I_{fitting}=I_0$$\sqrt{(2)\sigma}$$e^{\sigma}']);  
set(b,'Interpreter','latex','fontsize',24)
Run Code Online (Sandbox Code Playgroud)

bla*_*bla 7

你可以试试这个:

plot(sqrt(1:10)); 
h = legend(['$$\sqrt{blah}$$'])
set(h,'Interpreter','latex','fontsize',24) 
Run Code Online (Sandbox Code Playgroud)

在此输入图像描述