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
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
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