-
x=linspace(0,3); y=x.^2.*sin(x);plot(x,y); plot(x,y); line([2,2],[0,2^2*sin(2)]); str='$$\int_{0}^{2} x^2\sin(x) dx $$'; %积分符号怎么显示 text(0.25,2.5,str,'interpreter','latex'); % 后面2个英语单词基本固定不用该他 annotation('arrow','X',[0.32,0.5],'Y',[0.6,0.4]);
x=linspace(0,3);
y=x.^2.*sin(x);plot(x,y);
plot(x,y);
line([2,2],[0,2^2*sin(2)]);
str='$$\int_{0}^{2} x^2\sin(x) dx $$'; %积分符号怎么显示
text(0.25,2.5,str,'interpreter','latex'); % 后面2个英语单词基本固定不用该他
annotation('arrow','X',[0.32,0.5],'Y',[0.6,0.4]);