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

2011-09-26 Thread John Hunter
On Mon, Sep 26, 2011 at 12:05 PM, Katie Boyle katielbo...@gmail.com 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

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

2011-09-26 Thread John Hunter
On Mon, Sep 26, 2011 at 12:24 PM, John Hunter jdh2...@gmail.com wrote: On Mon, Sep 26, 2011 at 12:05 PM, Katie Boyle katielbo...@gmail.com 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