📄 ncmlogo.m
字号:
% NCMLOGO% L-shaped membrane on the cover of the print% version of Numerical Computing with MATLAB.% Activate the cameratoolbar and move the camera.% Set up the figure windowclfshgset(gcf,'color',[0 0 1/4],'colormap',jet(8))axes('pos',[0 0 1 1])axis offdaspect([1 1 1])% Compute MathWorks logoL = rot90(membranetx(1,32,10,10),2);% Filled contour plot with transparent lifted patchesb = (1/16:1/8:15/16)';hold onfor k = 1:8 [c,h(k)] = contourf(L,[b(k) b(k)]); if strcmp(get(h(k),'Type'),'hggroup') h(k) = get(h(k),'Children'); end m(k) = length(get(h(k),'xdata')); set(h(k),'linewidth',2,'edgecolor','w', ... 'facealpha',.5,'zdata',4*k*ones(m(k),1))endhold offview(12,30)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -