Re: [Matplotlib-users] plotting heatmap matrices in matplotlib with scale

2010-06-06 Thread Eric Firing
On 06/05/2010 04:41 PM, per freem wrote: > Hi all, > > How can I plot a matrix of values as a heatmap where values are shown > from green to red intensities, or blue to yellow intensities, like in > the following figure? > > http://www.coriell.org/images/microarray.gif > > I want to have the option

Re: [Matplotlib-users] plotting heatmap matrices in matplotlib with scale

2010-06-06 Thread Benjamin Root
I think what you are looking for is a way to specify the colormap of your plot. While the documentation is a little sparse on this topic, there is plenty of functionality in matplotlib regarding colormaps. Here is a list of built-in colormaps: http://matplotlib.sourceforge.net/api/pyplot_api.html

[Matplotlib-users] plotting heatmap matrices in matplotlib with scale

2010-06-05 Thread per freem
Hi all, How can I plot a matrix of values as a heatmap where values are shown from green to red intensities, or blue to yellow intensities, like in the following figure? http://www.coriell.org/images/microarray.gif I want to have the option of doing this with either green-red maps or blue-yellow