Bookmark and Share

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]

Re: st: graph export png on Linux


From   Neil Shephard <nshephard@gmail.com>
To   statalist@hsphsun2.harvard.edu
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
<ojones@wiwi.uni-bielefeld.de> 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 - nshephard@gmail.com
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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index