Re: [Matplotlib-users] Trying to reproduce R plot

2011-08-03 Thread Fabrice Silva
Le mercredi 03 août 2011 à 14:45 +0200, Michael Klitgaard a écrit : > Hello, > > I really like Python and Matplotlib, and recommend it to all my colleagues. > > I have found this plot: > > http://en.wikipedia.org/wiki/File:Operating_system_usage_share.svg > > I think it looks good, it is made i

Re: [Matplotlib-users] Trying to reproduce R plot

2011-08-03 Thread bhargav vaidya
Hello Michael, I will do this by defining a an array of colors and then plot each bar separately using a for loop U can assign a color to the bar with the facecolor keyword. U can use your code with a slight modifications from pylab import * data = [37.92, 29.72, 13.09, 7.40, 2.80, 2.07] x = ar