📄 代码12-17.txt
字号:
ax1 = subplot(2,2,1);
plot(1:10);
h = zoom; % 正常缩放。
ax2 = subplot(2,2,2);
plot(rand(3));
setAllowAxesZoom(h,ax2,false); % 不能缩放。
ax3 = subplot(2,2,3);
plot(peaks);
setAxesZoomMotion(h,ax3,'horizontal'); % 水平方向缩放。
ax4 = subplot(2,2,4);
contour(peaks);
setAxesZoomMotion(h,ax4,'vertical'); % 垂直方向缩放。
%图形窗口出现放大镜。
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -