mmcmapd.m

来自「Matlab 6.0图形图像处理所附带的光盘」· M 代码 · 共 16 行

M
16
字号
%MMCMAPD Demonstrate colormap merging.% MMCMAPD creates a figure window and demonstrates the effects% of merging two color maps to obtain special color effects.echo on figure;  % create figure windowcolormap([rainbow(32); copper(32)]); % set colormap for figuremesh(peaks+8); view(0,0);hold on; mesh(peaks-8);colorbar;title('Merging two color maps.');hold off

⌨️ 快捷键说明

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