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 <>
Subject   st: Re: Saving graphs as PNG
Date   Wed, 04 Jun 2003 09:35:37 -0500

Deng Pan ( 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

*   For searches and help try:

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