# Re: [Matplotlib-users] quiver + dates

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 worked perfectly.
>
> Best, Filipe
>
>
> On Mon, Feb 8, 2010 at 8:39 AM, Stephane Raynaud <
> stephane.rayn...@gmail.com> 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 <
>> ocef...@gmail.com> 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: falvarengafernan...@umassd.edu
>>>          ocef...@yahoo.com.br
>>>          ocef...@gmail.com
>>>
>>> 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
>>> 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@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>>
>>>
>>
>>
>> --
>> Stephane Raynaud
>>
>
>
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users