Re: [Matplotlib-users] quiver + dates

2010-02-10 Thread Filipe Pires Alvarenga Fernandes
Hello again, I managed to produce a nice stickplot, thanks to all again. Here is the script in case anyone is interested. http://dl.dropbox.com/u/4411725/plt-surf-flx.html Best, Filipe On Mon, Feb 8, 2010 at 9:57 AM, Filipe Pires Alvarenga Fernandes < ocef...@gmail.com> wrote: > Thanks, that wo

Re: [Matplotlib-users] quiver + dates

2010-02-08 Thread Filipe Pires Alvarenga Fernandes
Thanks, that worked perfectly. Best, Filipe On Mon, Feb 8, 2010 at 8:39 AM, Stephane Raynaud wrote: > Hi Filipe, > > you can fist use the quiver() function in the classic way for stick plots, > then use gca().xaxis_date(). > > Here is a simple example : > > import pylab as P > # t may be genera

Re: [Matplotlib-users] quiver + dates

2010-02-08 Thread Stephane Raynaud
Hi Filipe, you can fist use the quiver() function in the classic way for stick plots, then use gca().xaxis_date(). Here is a simple example : import pylab as P # t may be generated using date2num() t = P.arange(100,110,.1) u = P.sin(t) v = P.cos(t) P.quiver([t],[[0]*len(t)],u,v) P.gca().xaxis_da

Re: [Matplotlib-users] quiver + dates

2010-02-07 Thread Eric Firing
Filipe Pires Alvarenga Fernandes wrote: > Hello list, > > I'm trying to create a stick-plot figure using the quiver function from > matplotlib. However, I'm failing miserably to plot dates in the x-axis. > Has anyone done this before? Also, is there an effort to create a > stickplot function?

[Matplotlib-users] quiver + dates

2010-02-07 Thread Filipe Pires Alvarenga Fernandes
Hello list, I'm trying to create a stick-plot figure using the quiver function from matplotlib. However, I'm failing miserably to plot dates in the x-axis. Has anyone done this before? Also, is there an effort to create a stickplot function? Thanks, Filipe ***