Eric Firing <[email protected]> writes:

>> A different approach would be to output a raster image from pcolor and
>> render it with large pixels. I don't know how well that would work with
>> Agg, though.
>>
> I don't understand; wouldn't this wreck accuracy and defeat the purpose 
> of using pdf (scalability)?

I meant the same thing that happens when you do imshow(image,
interpolation='None') and save as pdf. Each rectangle becomes one pixel
in an embedded raster image object, which is rendered crisply by the
viewer.

Crisply, that is, if the viewer is Adobe Reader, ghostscript or xpdf. 
If you zoom in in Apple's Preview.app, the image looks blurry. But maybe
blurriness in one out of four renderers is better than white lines in
three out of four?

-- 
Jouni K. Seppänen
http://www.iki.fi/jks


------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to