Re: [Matplotlib-users] bar charts can't handle datetimes with less than a day between datapoints?

2009-07-22 Thread Nick Seow
Ah, thanks! On Thu, Jul 23, 2009 at 12:18 PM, John Hunter wrote: > bar width or 1.0 corresponds to 1 day.  The default width to the bar > command is 0.8, which is too thin for months, just right for days, and > too wide for hours.  Eg, for hours do > >  bar(x, y, width=0.8*1/24.)  # width is 0.8 h

Re: [Matplotlib-users] bar charts can't handle datetimes with less than a day between datapoints?

2009-07-22 Thread John Hunter
On Tue, Jul 21, 2009 at 8:00 PM, Nick Seow wrote: > Hi, > > I'm worried that I'm doing something stupid, but can't quite spot it. > > testBarCharts() :- X axis in integers. Works fine. > testBarChartsDTMonths() :- X axis in datetimes, 1 month between data > points. Works fine > testBarChartsDTHours

[Matplotlib-users] bar charts can't handle datetimes with less than a day between datapoints?

2009-07-22 Thread Nick Seow
Hi, I'm worried that I'm doing something stupid, but can't quite spot it. testBarCharts() :- X axis in integers. Works fine. testBarChartsDTMonths() :- X axis in datetimes, 1 month between data points. Works fine testBarChartsDTHours() :- X axis in datetimes, 1 hour between data points. Bars seem

[Matplotlib-users] Bar charts with dates as X axis?

2008-08-27 Thread andy yu
Hello, I am trying to construct a plot that is a barchartwith the X-axis being dates. I have used the plot_dates to generated line plots that look great, however, I cannotfigure out a way to do a barchart with dates as theXaxis.Has anyone done one of these ___

Re: [Matplotlib-users] bar charts (Margherita Vittone wiersma)

2007-01-29 Thread Derek Hohls
align='center' gives an error Also this solution is not perfect for negative bars as the text is located just *inside* the bar, rather than just *below* it. >>> Yannick Copin <[EMAIL PROTECTED]> 01/26/07 4:08 PM >>> Hi, > i have made bar charts but I was wondering if there is a way to show

Re: [Matplotlib-users] bar charts (Margherita Vittone wiersma)

2007-01-26 Thread Yannick Copin
Hi, > i have made bar charts but I was wondering if there is a way to show > on top of each bar the real content/counts, like a label; I generate > static plots so the dynamic showing of the counts on focusing on the > bar does not help me. Cannot you just add the counts manually? E.g. x,y = ara

[Matplotlib-users] bar charts

2007-01-25 Thread Margherita Vittone wiersma
Hello, i have made bar charts but I was wondering if there is a way to show on top of each bar the real content/counts, like a label; I generate static plots so the dynamic showing of the counts on focusing on the bar does not help me. Thank you much for some feedback. best regards Margherita