Bookmark and Share

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]

Re: st: Re: none


From   Ari Samaranayaka <[email protected]>
To   <[email protected]>
Subject   Re: st: Re: none
Date   Thu, 17 May 2012 13:14:14 +1200

Thank you very much Brendan. It works. much appreciated.
Ari




On 16/05/2012 8:30 p.m., Brendan Halpin wrote:
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


--
Dr. Ari Samaranayaka
IPRU, Dept of Preventive and Social Medicine
School of Medicine
University of Otago
Dunedin

Find out about the 11th World Conference on Injury Prevention and Safety Promotion by visiting www.safety2012.org.nz

*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index