Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down on April 23, and its replacement, **statalist.org** is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
Johannes Geyer <JGeyer@diw.de> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
st: Graph png format - differences in scaling between vers. 10 and 11 |

Date |
Tue, 16 Mar 2010 12:49:03 +0100 |

Dear Listers, 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? The code I used was the following: ************************ twoway (scatte v1 v2 t, connect(l l) mlabel(v1 v2) mlabp(12 12) msymbol(D O)) (scatte v5 v6 t, /// mlabel(v5 v6) mlabp(6 3) msymbol(S T) yaxis(2)), legend(size(small) label(1 "S1") label(2 "S2") label(3 "S3") label(4 "S4")) /// xlabel(1 "1937-1941" 2 "1942-1946" 3 "1947-1951" 4 "1952-1956" 5 "1957-1961" 6 "1962-1966" 7 "1967-1971", labsize(small)) /// ylabel(, labsize(small) axis(1 2)) scheme(sj) /// xtitle(Kohorten, size(small) margin(medium)) plotregion(margin(large)) /// ytitle("XX", size(small) margin(small) axis(1)) /// ytitle("YY", size(small) margin(small) axis(2)) graph export "test.png", replace ************************ Thanks, 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/

**Follow-Ups**:**st: RE: Graph png format - differences in scaling between vers. 10 and 11***From:*"Kieran McCaul" <Kieran.McCaul@uwa.edu.au>

- Prev by Date:
**Re: st: xtmelogit vs hlm** - Next by Date:
**st: Re: Post-Hoc test for Kruskal Wallis** - Previous by thread:
**st: Does it need to control industry if the concerned variable has been adjusted by industry?** - Next by thread:
**st: RE: Graph png format - differences in scaling between vers. 10 and 11** - Index(es):