Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Johannes Geyer <JGeyer@diw.de> |
To | statalist@hsphsun2.harvard.edu |
Subject | Antwort: re: st: Graph png format - differences in scaling between vers. 10 and 11 |
Date | Tue, 16 Mar 2010 13:39:22 +0100 |
owner-statalist@hsphsun2.harvard.edu schrieb am 16/03/2010 13:02:58: > <> > Johannes wrote > > > I just stumbled across an unexpected behaviour. I updated some graphs for > > a Beamer-Latex presentation. I used the "png" format. But I used Stata 11 > > instead of Stata 10. The result was a file smaller than the previous > > version (by a factor of four) with a smaller resolution. I guess, png is > > not a vector format and not indifferent to scaling. So, there is a smaller > > picture with less pixels which looks less nice when its size is increased. > > Even if I use Stata version-control, there is no difference. These new > > graphs look bad in the presentation, so I recreated them using Stata 10. > > There are many workarounds and this is not a big problem - but is this > > wanted, that the output changes even when I use version control? And the > > previous default looked better to me. Or did I overlook something? > > > I have no idea what may have happened between 10 and 11, because I > have never used png format. > From Wikipedia: "Portable Network Graphics (PNG) is a bitmapped > image format that employs lossless data compression." > If you're doing Beamer/LaTeX, why not use .eps? It is fully scalable > and supported by any LaTeX implementation. > > Kit Baum | Boston College Economics & DIW Berlin | http: Eps does not work with pdflatex which I use. I could switch to eps2pdf. But then, how do I compile a document that also includes pdf files? Most convenient for me, the solution was png. I did not have precompile some parts of the document or convert them. Johannes * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/