For speed in the Agg backend the markers are drawn once and then copied
as rasters to all of their positions. This implies that the markers end
up pixel aligned, which is the source of the error you're seeing. This
does not happen in the vector backends.
If you want to not get this behavior, you can use scatter() instead of
plot().
Mike
On 11/07/2011 04:00 PM, Anton Daitche wrote:
Hi,
As I remember from an earlier discussion on this, it's assumed that
these small deviations are tolerable in the agg renderer. This makes
the interactive backends more responsive at expenses of accuracy.
Do you remember the name of the thread? I would like to understand the
details on this.
I also would like to find out if i can force the renderer to do exact
drawing (at some computational cost).
I can see the same deviations using the tkagg backend with mpl 1.1.0
but if I save as pdf using the save button I get an accurate rendering
(see attachment).
I can verify this. Thanks for pointing this out.
With best regards
Anton
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users