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: graph export png on Linux


From   Oliver Jones <[email protected]>
To   [email protected]
Subject   Re: st: graph export png on Linux
Date   Thu, 14 Jul 2011 14:55:29 +0200

It took me a second to figure out what this awkward sign after console should be... :-D
To infinity and back (in 25 seconds) ;-)

Yeh, I read about the possibility to send commands to my operating system.
But I completely forgot about it, because until now I never saw any use of it.
Now I find it very useful!
Thanks again.

Oliver

Am 14.07.2011 14:43, schrieb Neil Shephard:
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



--
Universität Bielefeld
Fakultät für Wirtschaftswissenschaften
Lehrstuhl für Ökonometrie und Statistik
- -
Bielefeld University
Faculty of Business Administration and Economics
Chair of Econometrics and Statistics
- -
Raum / room:  V9-110
Tel / phone:  +49 (0)521 106 4871
---
*
*   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