On Thu, Apr 3, 2008 at 8:40 AM, Manuel Metz <[EMAIL PROTECTED]> wrote:
> Hi,
>
>  in matplotlib 0.91 there was a function draw_point for the backends.
>  This seems to be gone (except for backend_agg2.py and backend_emf.py
>  !?). I guess it wasn't used very often; instead I see that there is now
>  a function draw_point in lines.py. Is it possible to re-add this
>  functionality to the backends ??? What I would need is a function that
>  draws a single pixel to a device.

The markerstyle for drawing a pixel is ',' and it is supported across
backends AFAIK


In [1]: plot(rand(1000), ',')
Out[1]: [<matplotlib.lines.Line2D instance at 0x8e6c12c>]

In [2]: savefig('test.png')

In [3]: savefig('test.pdf')

In [4]: savefig('test.eps')

In [5]: savefig('test.svg')

JDH

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to