|
From: Nicolas B. <nbi...@gm...> - 2010-10-02 15:37:13
|
On Fri, Oct 1, 2010 at 5:38 PM, Stan West <sta...@nr...> wrote: > *From:* Nicolas Bigaouette [mailto:nbi...@gm...] > *Sent:* Thursday, September 30, 2010 18:00 > > What I would like to do it have a colormap which is transparent for lower > values of data and opaque for high values, so the blue on the figure would > appear white/transparent. > > Would it suffice for the colormap to be light or white for low values but > still opaque? There are several built-in maps [1] with a light color at one > end; if it's light at the high end, append "_r" to the colormap name to get > the reversed version. > > [1] > http://matplotlib.sourceforge.net/examples/pylab_examples/show_colormaps.html > I guess it's the best solution for now. Thanks ;) |