1 Jan 12:04
Re: eps/pdf/svg contourf contours don't overlap properly with high resolution data
Jordan Dawe <jdawe@...> writes: > Contourf plots that I output in vector format files have little > triangular glitches at the contour boundaries if the contoured array > is larger than about 200x200. The same files in png format are > perfect, even at very high dpi values. The current svn trunk doesn't have the really jarring little triangles (at least in the pdf output), but there are still several very obtuse white triangles between the regions. Rasterization at a high dpi makes the output somewhat better at the cost of larger output files: c=contourf(X, Y, Z, 10) axis((-3, 3, -3, 3)) savefig('unrasterized.pdf') for d in c.collections: d.set_rasterized(True) savefig('rasterized.pdf',dpi=200)
-- -- Jouni K. Seppänen http://www.iki.fi/jks
------------------------------------------------------------------------------(Continue reading)

RSS Feed