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

st: Re: Saving graphs as PNG


From   Derek Wagner <dwagner@stata.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Re: Saving graphs as PNG
Date   Wed, 04 Jun 2003 09:35:37 -0500

Deng Pan (dpan@duke.edu) wrote:

> I am trying to save graphics in png format using the "saving()" option.
> I'm using stata 8. I checked the help and couldn't find anything


A recent update was added (April 10, 2003) to allow -graph export- to
support .png (portable network graphics) files.  Instead of using the
-saving()- option with a graph command, you can use -graph export- after
creating a graph.  For example, you might try the following:

.  sysuse auto

.  scatter price mpg

.  graph export example.png

Please refer to -help graph_export- for more information and for more
file options.

Derek Wagner
(dwagner@stata.com)


*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index