From: Christopher B. <Chr...@no...> - 2008-02-01 18:02:51
|
Alan G Isaac wrote: > On Fri, 1 Feb 2008, Mark Bakker apparently wrote: >> you claim that 1pt = 1/72 inch. Is that always the case? >> And why? How does mpl figure that out I wrote this to help clarify some of these issues: http://www.scipy.org/Cookbook/Matplotlib/AdjustingImageSize > By the way, I've discovered that browser scaling > of PNGs does not work very well (fuzzy fonts), right, scaling rasters is never optimum. > so > setting both figsize and dpi correctly proves > rather important. exactly. > In contrast to best practice > for loading speed, you should not set the size > of your IMG element. you can set it, but make sure it matches the actual image size. That will get you the rendering speed, with no quality penalty. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |