MATLABの同一figureで複数のcolormapを使う

freezeColors.mをダウンロードしてきて使う

http://blogs.mathworks.com/pick/2009/07/24/using-multiple-colormaps-in-a-single-figure/
http://jp.mathworks.com/matlabcentral/fileexchange/7943-freezecolors---unfreezecolors

figure('color','w')
subplot(1,2,1)
image(X);
colormap(map);
% Here's John's contribution:
freezeColors

subplot(1,2,2)
contour(P,15)
colormap(copper)
axis ij square
pcolor(P)
axis ij square
shading flat