plotlotspeaks.m

来自「hi i have a huge collection are you int」· M 代码 · 共 46 行

M
46
字号
%Use plotlotspeaks.m to generate the .eps files:set(0,'defaultaxeslinewidth',1,...    'defaultlinelinewidth',1,...    'defaultaxesfontsize',(4/3.53)*20)[x,y,z]=peaks;colormap(range(gray,.5,1))clfplot(z)axis tightprint -deps 3d_lots1mesh(x,y,z)axis tightprint -deps 3d_lots2surf(x,y,z)shading flataxis tightprint -deps 3d_lots3surfl(x,y,z)shading flataxis tightprint -deps 3d_lots4contour(x,y,z,'k')axis tightprint -deps 3d_lots5imagesc(z)axis xyaxis tightprint -deps 3d_lots6surfc(x,y,z)h = findobj(gcf,'type','patch');set(h,'edgecolor','k')axis tightprint -deps 3d_lots7contourf(x,y,z)axis tightprint -deps 3d_lots8plot3(x,y,z,'k')hold oncontour3(x,y,z,'k')axis tightprint -deps 3d_lots9clfspanplot(z)axis tightprint -deps 3d_lots10

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?