I really like Python and Matplotlib, and recommend it to all my colleagues.
I have found this plot:
I think it looks good, it is made in R. The code looks clean, not many
I wanted to see if I could make a similar plot in Matplotlib.
So far, this is what I got:
from pylab import *
data = [37.92, 29.72, 13.09, 7.40, 2.80, 2.07]
x = arange(len(data))
ax = subplot(111)
xticks( x + 0.5, ("Windows\nXP", "Windows\n7", "Windows\nVista",
"MacOS X", "iOS", "Linux") )
title("Usage share of web client operating systems: May 2011")
I have stolen most of the code from an example:
I havent figured out how to color the bars differently, does anybody
know how to do this?