Hi everyone,
I usually find it convenient to save Stata graphs as .png files and I used to do do this for many years now. Since a few days, I have a new notebook which creates the following problem using Stata 13. Whenever I create a simple line graph, the export file is disproportionately large in terms of resolution. Put differently, while the .gph file looks completely normal, the .png file looks as if somebody zoomed in to strongly. This problem arises already with the following MWE:
Notice that I already thought about using width() and height() to alter the exported .png or the scaling parameters in twoway but nothing really helps. For convenience, I attach the (very simplistic) png file. Any ideas how to solve this?
Best,
Carlo
I usually find it convenient to save Stata graphs as .png files and I used to do do this for many years now. Since a few days, I have a new notebook which creates the following problem using Stata 13. Whenever I create a simple line graph, the export file is disproportionately large in terms of resolution. Put differently, while the .gph file looks completely normal, the .png file looks as if somebody zoomed in to strongly. This problem arises already with the following MWE:
Code:
clear input price year 1.5 2000 1.5 2001 1.7 2002 1.95 2003 1.6 2004 1.3 2005 1.6 2006 1.65 2007 end br twoway line price year graph export "C:\Users\Carlo\Desktop\test.png", as(png) replace
Best,
Carlo
Comment