Matlab画图--基础曲线、直方图、饼图等
1、
x=logspace(-1,1,100);
y=x.^2;
subplot(2,2,1);
plot(x,y);
title(‘plot’);
subplot(2,2,2);
semilogx(x,y);
title(‘Semilogx’);
subplot(2,2,3);
semilogy(x,y);
title(‘Semilogy’);
subplot(2,2,4);
loglog(x,...
原创
2020-06-01 09:50:00 ·
642 阅读 ·
0 评论