Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: graph export png on linux console


From   [email protected] (Derek Wagner, StataCorp)
To   [email protected]
Subject   RE: st: graph export png on linux console
Date   Wed, 17 Mar 2004 12:51:23 -0600

Chris Wallace wrote:

> I am using stata-se version 8.0 on linux, with the latest available stata
> executable update (30 Jan 2004), and ado-update 19 Feb 2004.
> I am trying to export a previously saved graph to png and eps formats.
> Using xstata-se, I can do
>
> . gr use mygph
>
> . gr export mygph.eps
> (file mygph.eps written in .eps format)
>
> . gr export mygph.png
> (file mygph.png written in PNG format)
>
> Using stata-se however (in a console), I get
>
> . gr use mygph
>
> . gr export mygph.eps
> (file mygph.eps written in .eps format)
>
> . gr export mygph.png
> translator Graph2png not found
> r(111);
>
> I am confused that Graph2eps works, but not Graph2png.  The manual makes 
> no mention of Graph2png specifically for unix-console.  The only relevant 
> part I can find is:
>     Note for Stata-for-Unix(console) users:  Follow the instructions just
>     given even though you have no Graph window and cannot see what has just
>     been "displayed":  Use the graph and then export it.

A png file takes its characteristics from the graph window on all platforms.
Since the console version of Unix cannot produce a graph window, a png file
cannot be created.  The manual entry does appear to be misleading in this 
regard, so the documentation will be changed and a corrected help file will
be released in a future update.

Derek Wagner
<[email protected]>
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index