[Matplotlib-users] matplotlib 0.99.3 --> 1.0.1 plotting error

2011-09-26 Thread Andre' Walker-Loud
Hi All, I recently upgraded my python packages through Enthought. I have a mac osx 10.6.8 Previous versions: python 2.6, matplotlib 0.99.3 (Enthought 6.2) New versions: python 2.7, matplotlib 1.0.1 (Enthought 7.1) I am using the macosx backend. I have some functions I wrote which analyze data.

[Matplotlib-users] matplotlib - fill open path inside U.S. borders

2011-09-26 Thread Isidora
Hi, I am trying to plot filled paths over a U.S. map. I plot the given paths, but since these are not closed paths, the filling is truncated at a line drawn between last and first point in the path. I want to extend the path to the United States border instead. I am no expert in matplotlib

Re: [Matplotlib-users] Assign colors to list?

2011-09-26 Thread John Hunter
On Mon, Sep 26, 2011 at 12:24 PM, John Hunter wrote: > On Mon, Sep 26, 2011 at 12:05 PM, Katie Boyle wrote: >> Hi All, >> >> I was wondering how I take a list of 250 discrete values and match up each >> value in the list to a color in the gist_rainbow colormap. I want the >> highest value to be r

Re: [Matplotlib-users] Assign colors to list?

2011-09-26 Thread John Hunter
On Mon, Sep 26, 2011 at 12:05 PM, Katie Boyle wrote: > Hi All, > > I was wondering how I take a list of 250 discrete values and match up each > value in the list to a color in the gist_rainbow colormap. I want the > highest value to be red, and the lowest value to be blue. I then want to > plot a

[Matplotlib-users] Assign colors to list?

2011-09-26 Thread Katie Boyle
Hi All, I was wondering how I take a list of 250 discrete values and match up each value in the list to a color in the gist_rainbow colormap. I want the highest value to be red, and the lowest value to be blue. I then want to plot a point for each value in the list, and the point's color should re

Re: [Matplotlib-users] query on weighted matrix example

2011-09-26 Thread Bala subramanian
Friends, I have solved the problem by myself. I gave if w < 2.0: color = 'red' if 2.1 < w > 4.0: color='blue' So wherever the value there is a value like 2.03 or 2.05, the color was shown as black instead of red/blue. Thanks, Bala On Mon, Sep 26, 2011 at 9:25 AM, Bala subramanian wrote: > Frie

[Matplotlib-users] contrast image

2011-09-26 Thread getnut
Hi, I try to apply contrast to an image with set_cmap() like it's explained in this page http://matplotlib.sourceforge.net/users/image_tutorial.html http://matplotlib.sourceforge.net/users/image_tutorial.html but when I apply a new pseudocolor nothing appends. Please help me! This is my code.

Re: [Matplotlib-users] How to plot heatmap with matplotlib?

2011-09-26 Thread Angus McMorland
On 25 September 2011 06:59, fdu.xia...@gmail.com wrote: > Dear all, > > Heatmap (like those on the page > http://www2.warwick.ac.uk/fac/sci/moac/students/peter_cock/r/heatmap/) > is a frequently used type of image in microarray data analysis. However, > it seems there are no convenient functions i

[Matplotlib-users] query on weighted matrix example

2011-09-26 Thread Bala subramanian
Friends, In the mpl site, i found the an example code called hinton_demo to plot weighted matrix in the following link. http://matplotlib.sourceforge.net/examples/api/hinton_demo.html?highlight=hinton I used the same script (attached test.py) making a slight modification in the following section