Re: ? change only colormap of one subplot



Cheng Cosine:
<SNIP diff colmaps for diff subplots...

one of the many solutions (you seem to own the <img proc tbx>)

% get an indexed image
im=load('clown');
im=im.X;
imr=range(im(:));
% create several subplots using diff colmaps
sh(1)=subplot(2,2,1);
img=ind2rgb(im,gray(imr));
image(img);
sh(2)=subplot(2,2,2);
img=ind2rgb(im,summer(imr));
image(img);
sh(3)=subplot(2,2,[3,4]);
img=ind2rgb(im,autumn(imr));
image(img);
axis(sh,'image');

us
.