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: graph export png on Linux
From
Neil Shephard <[email protected]>
To
[email protected]
Subject
Re: st: graph export png on Linux
Date
Thu, 14 Jul 2011 13:43:34 +0100
On Thu, Jul 14, 2011 at 1:29 PM, Oliver Jones
<[email protected]> wrote:
> Hi Neil,
> using the xstata works, but it is a very slowly (console: 25 sec vs.
> xwindow: 75 sec). Exporting to eps works fine. Thanks for the advice.
Shouldn't that be console ∞ v's xstata 75 seconds if the console
doesn't actually produce the desired graph? ;-)
I think imagemagick (http://www.imagemagick.org/) may be a better
solution to get the eps to png conversion directly (see
http://www.imagemagick.org/Usage/text/#postscript ).
You may well already know this, but you can call the conversion from
eps to png from within your do-file using something like...
graph export mygraph.eps, replace
! convert mygraph.eps mygraph.png
Neil
--
“Truth in science can be defined as the working hypothesis best suited
to open the way to the next better one.” - Konrad Lorenz
Email - [email protected]
Website - http://kimura.no-ip.org/
Photos - http://www.flickr.com/photos/slackline/
*
* 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/