matlab纵坐标刻度科学计数法
横坐标的网上有很多,纵坐标我找了很久,在这里补充一下。
x = linspace(0,5,1000);
y = 100*exp(x).*sin(20*x);
plot(x,y)
ax = gca;
ax.YAxis.Exponent = 2;%常数2为指数值,改为0即不使用科学计数法
![在这里插入图片描述](https://img-blog.csdnimg.cn/9c581596a32a4f69b60e813da80bf7f8.png?x-oss-process=image/watermark,type_ZHJvaWRzYW5zZmFsbGJhY2s,shadow_50,text_Q1NETiBAZnJlZWhlcm9oYW5n,size_13,color_FFFFFF,t_70,g_se,x_16)
matlab官网
https://ww2.mathworks.cn/help/matlab/creating_plots/change-tick-marks-and-tick-labels-of-graph-1.html?#d119e2453