matlab 画图

图像为仿真http://blog.csdn.net/dymodi/article/details/46411301

subpolt 在一幅图里画多个图像

plot3,画三维线

mesh画三维曲面

meshc带等高线,meshz带curtain

colormap负责改颜色

[a,b]=meshgrid([0:0.2:10],[0:0.2:10]);
c=-0.25*(a-b+2).^2-5*(a+b);

%colormap(gray(50));
figure(1);
mesh(a,b,c);
axis([0 10 10 0 -120 0]);

posted @ 2018-03-19 22:32  喵喵小学僧  阅读(277)  评论(0编辑  收藏  举报