Thanks. Now I understand the situation.
As far as I can see, marker=, is implemented as a rectangle path
with width/height of 1 pixel, so this result in 2x2 pixel filled
square.
I tried to change the size of the rectangle, etc, to get a single
pixel filled square, but did not get a satisfactory
Chris,
You might want to try a module written by Tom Robitaille (aka astrofrog)
called rasterized_scatter. Look for it on github.
Jon
On Mon, 2012-02-06 at 21:28 +0900, Jae-Joon Lee wrote:
Thanks. Now I understand the situation.
As far as I can see, marker=, is implemented as a rectangle
I'm looking into the source of this bug now.
Mike
On 02/06/2012 09:19 AM, Jonathan Slavin wrote:
Chris,
You might want to try a module written by Tom Robitaille (aka astrofrog)
called rasterized_scatter. Look for it on github.
Jon
On Mon, 2012-02-06 at 21:28 +0900, Jae-Joon Lee wrote:
JJ,
Thanks for the clarification. Now I understand why EPS outputs of
pixel plot from mpl is a few times bigger than those from SuperMongo.
I guess that mpl uses the square implementation for pixel so that it
would use the same method to handle all marker types. I will file an
issue report on
There is a pull request for this here:
https://github.com/matplotlib/matplotlib/pull/695
If you're able to checkout and build that branch from git, I would
appreciate hearing if it resolves your issue.
Mike
On 02/06/2012 12:58 PM, Chris wrote:
JJ,
Thanks for the clarification. Now I
How are you plotting your points.
If you use *plot*, there is a *markersize* parameter.
If you use *scatter*, the third argument controls the marker size.
But you may actually complaining about other issues, e.g.,
antialiasing, etc. So, if above are not your answer, please post a
complete
Thanks JJ.
The problem seems not to be a size issue -- markersize has no effect
when use marker=, (pixel). I have also tried to turn off aa, and it
doesn't help either. I also tried different backends. The PNG output
from Agg and Cairo is slightly different: Agg's point has 4 solid
pixel,
I noticed this a few years back, but left it aside because most of the
time I can live with it. Recently I need to make a few plots
containing a few million points, and 4 pixels for a point is a
disaster. So my question is why the pixel marker size is set at 4
pixels? And is there anyway to