📄 example_contour_color.m
字号:
% example_contour_color.m
% 颜色填充的等值线图
[x,y,z]=peaks(30);
% 图1:pcolor
subplot(1,2,1)
pcolor(x,y,z);
shading interp;
axis square;
title('figure1: pcolor');
% 图2:contourf
subplot(1,2,2)
contourf(x,y,z);
axis square;
title('figure2: contourf');
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -