|
From: Chris B. <Chr...@no...> - 2005-10-03 16:48:43
|
Sascha wrote: > Try changing the resolution to a value of 300 or 600 dpi. This should > give you very high quality figures when using the Agg backend. The > standard is 80 which is ok for screen display but for printing > purposes you should use a higher value. See > http://matplotlib.sourceforge.net/matplotlib.pylab.html#-figure (dpi > keyword argument). Except that savefig() overrides the Figure dpi, so you need to pass the desired dpi in to the savefig function (or method): savefig(filename, dpi=300) -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |