help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: colormap in subplot


From: David Bateman
Subject: Re: colormap in subplot
Date: Fri, 07 Nov 2008 15:30:59 +0100
User-agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724)

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


Matlab has the same issue, as the colormap is associated with a figure and not an image/patch/surface, etc.. Matlab defined the manner in which colormaps work, so blame the issue on them. Luckily, they also supply a tech-note with the solution. See

http://www.mathworks.com/support/tech-notes/1200/1215.html

D.


--
David Bateman                                address@hidden
35 rue Gambetta                              +33 1 46 04 02 18 (Home)
92100 Boulogne-Billancourt FRANCE            +33 6 72 01 06 33 (Mob)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]