Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Re: none
From
[email protected] (Brendan Halpin)
To
[email protected]
Subject
st: Re: none
Date
Wed, 16 May 2012 09:30:55 +0100
On Wed, May 16 2012, Ari Samaranayaka wrote:
> I want to increase the DPI in stata graphs to at least 300 DPI for black
> and white figures and at least 600 in colour figures as requested by a
> journal publisher. I tried by saving in gph format and exporting into
> different formats as shown in examples below, but could not find a way
> to increase the DPI. Can you please help?
Looking at the help for -graph export- under -png_options- I see width()
and height() options that work in pixels. If I remember correctly Stata
graphs default to 5"x3", so "width(3000)" might work for you.
My practice under Linux would be to export to a vector format and use
the Imagemagick "convert" utility:
convert -density 600 colourfig.pdf colourfig.png
Brendan
--
Brendan Halpin, Department of Sociology, University of Limerick, Ireland
Tel: w +353-61-213147 f +353-61-202569 h +353-61-338562; Room F1-009 x 3147
mailto:[email protected] ULSociology on Facebook: http://on.fb.me/fjIK9t
http://teaching.sociology.ul.ie/bhalpin/wordpress twitter:@ULSociology
*
* 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/