|
From: Filipe P. A. F. <oc...@gm...> - 2010-02-10 17:32:49
|
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 < oc...@gm...> wrote: > Thanks, that worked perfectly. > > Best, Filipe > > > On Mon, Feb 8, 2010 at 8:39 AM, Stephane Raynaud < > ste...@gm...> 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 < >> oc...@gm...> 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: fal...@um... >>> oc...@ya... >>> oc...@gm... >>> >>> 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 >>> Mat...@li... >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>> >>> >> >> >> -- >> Stephane Raynaud >> > > |