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

    %% Use Bone Colormap
% Load the |spine| data set to get array |X|. Use the |image| function to
% display the data in |X|.

% Copyright 2015 The MathWorks, Inc.

load spine
image(X)

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