2011/2/22 Benjamin Root <ben.r...@ou.edu>:
>
> Admittedly, this isn't using matplotlib's hist() function because it only
> allows for one color per dataset.  However, you can use numpy's histogram
> function to get the bins and counts yourself, and then use bar() to make the
> bars.  bar() will allow you to color the bars individually.

Pylab hist() returns a list of patches so you can also change their properties.

Goyo

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to