📄 mm2712.m
字号:
[X,Y,Z] = peaks(30);x = X(1,:); % vector of x axisy = Y(:,1); % vector of y axisi = find(y>.8 & y<1.2); % find y axis indices of holej = find(x>-.6 & x<.5); % find x axis indices of holeZ(i,j) = nan; % set values at hole indices to NaNssurf(X,Y,Z)xlabel('X-axis'), ylabel('Y-axis'), zlabel('Z-axis')title('Figure 27.12: Surface Plot with a Hole')
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -