www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/UseSummerColormapExample.m

    %% Use Summer Colormap
% Create a surface plot of the |peaks| function. 

% Copyright 2015 The MathWorks, Inc.


figure;
surf(peaks);

%%
% Change the colormap to the |summer| colormap.
colormap(summer)