colormap in subplot

Ben Abbott bpabbott at mac.com
Fri Nov 7 08:17:38 CST 2008


On Nov 7, 2008, at 8:56 AM, Claudio Belotti wrote:

> hi,
> I'm plotting a subplot 2x2 with four pcolor images.
> I'd like to have 2 of them using the standard jet colormap and the
> other 2 using a differnt one; but whenever I give the colormap()
> command it changes all four, any idea on how to do it?
>
> thanks
> Claudio

The colormap is a property of the figure. I doubt it is possible to  
assign different colormaps to different axes.

Ben



More information about the Help-octave mailing list