Re: [Matplotlib-users] histogram with "ready" data

2009-07-13 Thread Davide Setti
ehm ehm... maybe bar() ? :-) -- Davide Setti blog: http://blog.flatlandia.eu home: http://www.flatlandia.eu -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limit

[Matplotlib-users] histogram with "ready" data

2009-07-13 Thread Davide Setti
Hi all, i need to plot an histogram from already calculated data. I think an example can be helpful :-) I have a list: [ (22, 0), (19, 1), (15, 0), ... ] while in each tuple the first number is the height of the bar (the first bar has value 22, the second has value 19...) the second is the