On 5/3/07, Emmanuel <[EMAIL PROTECTED]> wrote:
> With gnuplot one can do a plot like that :
>
> http://www.deqnotes.net/gnuplot/images/impulses.png
>
> It is using option "with impulse".
>  Is there an equivalent in matplotlib?


In [5]: t = arange(0.0, 2.0, 0.05)

In [6]: s = sin(2*pi*t)

In [7]: vlines(t, 0, s)
Out[7]: <matplotlib.collections

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to