Saturday, February 18, 2006
st: file size of graphs: what does it depend on?
what does the file size of Stata graphs exactly depend on?
I have "fancy" graphs with just 10 kb, and others that do not seem to be more fancy, with arrive at more than 500 kb. Obviously, small is beautiful when it comes to sending (several) graphs around.
How does Stata technically store graphs? I first thought Stata would so-to-say store the data underlying the graph (at certain grid points) as part of the *.gph file? However: I found that e.g. graphs produced with kdensity have much bigger file sizes than other types of plots in general, INDEPENDENT of the grid size ( -kdensity,n()- ) ...
So why are some graphs much bigger in file size than others (by factor 50) although they do not seem to be "50 times more complex"?!
Dr. Sascha O. Becker Visiting Asst. Professor Department of Economics Main Office, Economics Building University of California, San Diego 9500 Gilman Dr. Dept. 0508 La Jolla, CA 92093-0508, USA
* * For searches and help try: * http://www.stata.com/support/faqs/res/findit.html * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/
Links to this post: