Re: [Matplotlib-users] plotting dates and dtypes

2010-06-18 Thread Eric Firing
On 06/18/2010 07:31 AM, Ryan May wrote: > On Thu, Jun 17, 2010 at 11:39 AM, Bill Eaton wrote: >> I'm struggling to figure out how to format my data so that I can use dates >> as x-data. > >> I tried to import my own data. It looks like >>2005-03-04,0.923115796 >>2005-03-05,0.915828724 >>

Re: [Matplotlib-users] plotting dates and dtypes

2010-06-18 Thread Ryan May
On Thu, Jun 17, 2010 at 11:39 AM, Bill Eaton wrote: > I'm struggling to figure out how to format my data so that I can use dates > as x-data. > I tried to import my own data. It looks like >   2005-03-04,0.923115796 >   2005-03-05,0.915828724 >   2005-03-06,0.442521474 >   2005-03-07,0.997096213

Re: [Matplotlib-users] plotting dates and dtypes

2010-06-18 Thread Bill Eaton
I came up with a partial solution for my problem. I found an example from Sandro Tosi (http://www.packtpub.com/article/advanced-matplotlib-part2. I think I may have to buy his book.) using datutil.parser. I'm not sure why a straight numpy.load doesn't work. Code was: > I tried to import my own d

[Matplotlib-users] plotting dates and dtypes

2010-06-17 Thread Bill Eaton
I'm struggling to figure out how to format my data so that I can use dates as x-data. I've tried the pylab examples and they execute beautifully on my Windoze and Linux boxes. But when I try to plot data on my own, it doesn't work. Using api example date_demo.py as a starting point. This appear

[Matplotlib-users] Plotting Dates on the Y Axis?

2008-05-02 Thread Kenneth Miller
Is it possible to plot dates on the y axis? Regards, Kenneth Miller - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority co

Re: [Matplotlib-users] Plotting dates on the Y axis?

2008-03-21 Thread Chris Withers
Kenneth Miller wrote: > > back in time. When i pass plot_dates timestamps for the y axis, and > integers for the x axis it simply displays the y-axis as floats. did you try: plot_dates(x,dates,ydate=True) ? Chris -- Simplistix - Content Management, Zope & Python Consulting - htt

Re: [Matplotlib-users] Plotting dates on the Y axis?

2008-03-21 Thread Kenneth Miller
On Mar 21, 2008, at 11:56 AM, Chris Withers wrote: > Kenneth Miller wrote: >> Is it possible to plot dates on the Y-axis? I'd like to have >> dates on the y axis descending or ascending versus my values on the >> x - axis. Is it possible to do this or simply switch the axis? > > Not su

Re: [Matplotlib-users] Plotting dates on the Y axis?

2008-03-21 Thread John Hunter
On Fri, Mar 21, 2008 at 11:27 AM, Kenneth Miller <[EMAIL PROTECTED]> wrote: > All, > > Is it possible to plot dates on the Y-axis? I'd like to have > dates on the y axis descending or ascending versus my values on the x > - axis. Is it possible to do this or simply switch the axis? Not a p

Re: [Matplotlib-users] Plotting dates on the Y axis?

2008-03-21 Thread Chris Withers
Kenneth Miller wrote: > Is it possible to plot dates on the Y-axis? I'd like to have > dates on the y axis descending or ascending versus my values on the x > - axis. Is it possible to do this or simply switch the axis? Not sure what you mean, have you just tried it with plot or plot_dat

[Matplotlib-users] Plotting dates on the Y axis?

2008-03-21 Thread Kenneth Miller
All, Is it possible to plot dates on the Y-axis? I'd like to have dates on the y axis descending or ascending versus my values on the x - axis. Is it possible to do this or simply switch the axis? Thanks! Regards, Ken -

Re: [Matplotlib-users] Plotting Dates

2006-07-31 Thread Chris S
Thanks, that's exactly what I was looking for. Chris On 7/31/06, Richard Albright <[EMAIL PROTECTED]> wrote: > take a look at the finance_work2.py code on the screenshots page: > http://matplotlib.sourceforge.net/screenshots.html > > On Mon, 2006-07-31 at 11:52 -0400, Chris S wrote: > > I'm tryin

Re: [Matplotlib-users] Plotting Dates

2006-07-31 Thread PGM
Chris, http://matplotlib.sourceforge.net/matplotlib.pylab.html#-plot_date + google "date dateutils" site:http://matplotlib.sourceforge.net/tutorial.html + http://matplotlib.sourceforge.net/matplotlib_examples_0.87.1.zip And if this is not enough, please be a bit more specific in your request: an

[Matplotlib-users] Plotting Dates

2006-07-31 Thread Chris S
I'm trying to plot dates using plot_date(), but the date for every point is labeled on the axis, and in a verbose format, resulting in a jumble of text making the date-axis completely unreadable. Is there any way to control the format of the dates displayed, and ensure only a small percentage of po