On Friday 19 October 2007 09:21:45 am John Hunter wrote:
> On 10/19/07, Darren Dale <[EMAIL PROTECTED]> wrote:
> > A while back I put in quite a bit of effort into enabling draw_markers in
> > the postscript backend. This is an efficient RendererPS function both in
> > terms of speed and file size, but it seems to not be used any more in
> > favor of the less efficient draw_polygon. Does anyone know why?
>
> Which artist is triggering this call?

I don't remember how to find the answer. It looks like scatter() creates 
polygons, while plot() uses draw_markers:

import pylab

x = pylab.npy.arange(0,10)
pylab.scatter(x,x, s=50, alpha=0.5)
pylab.scatter(x,x+0.5, facecolor='blue', edgecolor='red', s=50, alpha=0)
pylab.plot(x,x+1, 'o', mfc='blue', mec='red', ms=8, alpha=0)

pylab.savefig('alpha.png')
pylab.savefig('alpha.eps')
pylab.show()

Comparing the png and eps, it looks like there is some inconsistancy in the 
way scatter and plot ends up dealing with the alpha argument as well.

Darren

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to