Re: [Matplotlib-users] quiver + dates From: Filipe Pires Alvarenga Fernandes - 2010-02-10 17:32:49 Attachments: Message as HTML ```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 < ocefpaf@...> wrote: > Thanks, that worked perfectly. > > Best, Filipe > > > On Mon, Feb 8, 2010 at 8:39 AM, Stephane Raynaud < > 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 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_date() >> P.show() >> >> >> On Sun, Feb 7, 2010 at 6:11 PM, Filipe Pires Alvarenga Fernandes < >> ocefpaf@...> 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? >>> >>> Thanks, Filipe >>> >>> ***************************************************** >>> Filipe Pires Alvarenga Fernandes >>> >>> University of Massachusetts Dartmouth >>> 200 Mill Road - Fairhaven, MA >>> Tel: (508) 910-6381 >>> Email: falvarengafernandes@... >>> ocefpaf@... >>> ocefpaf@... >>> >>> http://ocefpaf.tiddlyspot.com/ >>> ***************************************************** >>> >>> >>> ------------------------------------------------------------------------------ >>> The Planet: dedicated and managed hosting, cloud storage, colocation >>> Stay online with enterprise data centers and the best network in the >>> business >>> Choose flexible plans and management services without long-term contracts >>> Personal 24x7 support from experience hosting pros just a phone call >>> away. >>> http://p.sf.net/sfu/theplanet-com >>> _______________________________________________ >>> Matplotlib-users mailing list >>> Matplotlib-users@... >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>> >>> >> >> >> -- >> Stephane Raynaud >> > > ```
 [Matplotlib-users] quiver + dates From: Filipe Pires Alvarenga Fernandes - 2010-02-07 17:11:21 Attachments: Message as HTML ```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 ***************************************************** Filipe Pires Alvarenga Fernandes University of Massachusetts Dartmouth 200 Mill Road - Fairhaven, MA Tel: (508) 910-6381 Email: falvarengafernandes@... ocefpaf@... ocefpaf@... http://ocefpaf.tiddlyspot.com/ ***************************************************** ```
 Re: [Matplotlib-users] quiver + dates From: Eric Firing - 2010-02-07 18:15:20 ```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? I need to add units support to quiver so that it will recognize dates. I will do that shortly. Please give an example showing what you want as a "stickplot". What should be the capabilities of such a function? Does it differ from quiver only in plotting line segments rather than arrows? Eric > > Thanks, Filipe > > ***************************************************** > Filipe Pires Alvarenga Fernandes > > University of Massachusetts Dartmouth > 200 Mill Road - Fairhaven, MA > Tel: (508) 910-6381 > Email: falvarengafernandes@... > > ocefpaf@... > ocefpaf@... > > http://ocefpaf.tiddlyspot.com/ > ***************************************************** > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > > > ------------------------------------------------------------------------ > > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users ```
 Re: [Matplotlib-users] quiver + dates From: Stephane Raynaud - 2010-02-08 14:03:57 Attachments: Message as HTML ```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_date() P.show() On Sun, Feb 7, 2010 at 6:11 PM, Filipe Pires Alvarenga Fernandes < ocefpaf@...> 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? > > Thanks, Filipe > > ***************************************************** > Filipe Pires Alvarenga Fernandes > > University of Massachusetts Dartmouth > 200 Mill Road - Fairhaven, MA > Tel: (508) 910-6381 > Email: falvarengafernandes@... > ocefpaf@... > ocefpaf@... > > http://ocefpaf.tiddlyspot.com/ > ***************************************************** > > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the > business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > -- Stephane Raynaud ```
 Re: [Matplotlib-users] quiver + dates From: Filipe Pires Alvarenga Fernandes - 2010-02-08 14:57:17 Attachments: Message as HTML ```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 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_date() > P.show() > > > On Sun, Feb 7, 2010 at 6:11 PM, Filipe Pires Alvarenga Fernandes < > ocefpaf@...> 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? >> >> Thanks, Filipe >> >> ***************************************************** >> Filipe Pires Alvarenga Fernandes >> >> University of Massachusetts Dartmouth >> 200 Mill Road - Fairhaven, MA >> Tel: (508) 910-6381 >> Email: falvarengafernandes@... >> ocefpaf@... >> ocefpaf@... >> >> http://ocefpaf.tiddlyspot.com/ >> ***************************************************** >> >> >> ------------------------------------------------------------------------------ >> The Planet: dedicated and managed hosting, cloud storage, colocation >> Stay online with enterprise data centers and the best network in the >> business >> Choose flexible plans and management services without long-term contracts >> Personal 24x7 support from experience hosting pros just a phone call away. >> http://p.sf.net/sfu/theplanet-com >> _______________________________________________ >> Matplotlib-users mailing list >> Matplotlib-users@... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> >> > > > -- > Stephane Raynaud > ```
 Re: [Matplotlib-users] quiver + dates From: Filipe Pires Alvarenga Fernandes - 2010-02-10 17:32:49 Attachments: Message as HTML ```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 < ocefpaf@...> wrote: > Thanks, that worked perfectly. > > Best, Filipe > > > On Mon, Feb 8, 2010 at 8:39 AM, Stephane Raynaud < > 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 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_date() >> P.show() >> >> >> On Sun, Feb 7, 2010 at 6:11 PM, Filipe Pires Alvarenga Fernandes < >> ocefpaf@...> 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? >>> >>> Thanks, Filipe >>> >>> ***************************************************** >>> Filipe Pires Alvarenga Fernandes >>> >>> University of Massachusetts Dartmouth >>> 200 Mill Road - Fairhaven, MA >>> Tel: (508) 910-6381 >>> Email: falvarengafernandes@... >>> ocefpaf@... >>> ocefpaf@... >>> >>> http://ocefpaf.tiddlyspot.com/ >>> ***************************************************** >>> >>> >>> ------------------------------------------------------------------------------ >>> The Planet: dedicated and managed hosting, cloud storage, colocation >>> Stay online with enterprise data centers and the best network in the >>> business >>> Choose flexible plans and management services without long-term contracts >>> Personal 24x7 support from experience hosting pros just a phone call >>> away. >>> http://p.sf.net/sfu/theplanet-com >>> _______________________________________________ >>> Matplotlib-users mailing list >>> Matplotlib-users@... >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>> >>> >> >> >> -- >> Stephane Raynaud >> > > ```