Re: ? change only colormap of one subplot
- From: us <us@xxxxxxxxxxxxxxx>
- Date: Fri, 30 Dec 2005 14:05:46 -0500
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
.
- Follow-Ups:
- Re: ? change only colormap of one subplot
- From: Cheng Cosine
- Re: ? change only colormap of one subplot
- From: Cheng Cosine
- Re: ? change only colormap of one subplot
- References:
- ? change only colormap of one subplot
- From: Cheng Cosine
- ? change only colormap of one subplot
- Prev by Date: Re: have coding- urgent
- Next by Date: gui activex codes-link win media player
- Previous by thread: Re: ? change only colormap of one subplot
- Next by thread: Re: ? change only colormap of one subplot
- Index(es):