Re: [Matplotlib-users] defining a color for a value

2009-05-15 Thread John Hunter
On Fri, May 15, 2009 at 6:41 AM, Bala subramanian wrote: > Friends, > I have a data like the following. I dnt want to plot the data literally as > shown below. I want to define a color red for 0, blue for 1 and yellow for > 2. Each color represents the properly of the y-values. I want to define >

[Matplotlib-users] defining a color for a value

2009-05-15 Thread Bala subramanian
Friends, I have a data like the following. I dnt want to plot the data literally as shown below. I want to define a color red for 0, blue for 1 and yellow for 2. Each color represents the properly of the y-values. I want to define colors for values and monitor the color changes with time. I check