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, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: Thread-Index: AQHNGaMYxA41zL2YVU6FnoNj2rccMA==

From   "David Radwin" <>
To   <>
Subject   st: RE: Thread-Index: AQHNGaMYxA41zL2YVU6FnoNj2rccMA==
Date   Fri, 13 Apr 2012 12:13:45 -0700 (PDT)

Yes, use the width and height options, e.g.:

. twoway function y=x

. gr export small.png, width(160) height(100)
(file small.png written in PNG format)

. gr export big.png, width(800) height(500)
(file big.png written in PNG format)

David Radwin
Research Associate
MPR Associates, Inc.
2150 Shattuck Ave., Suite 800
Berkeley, CA 94704
Phone: 510-849-4942
Fax: 510-849-0794

> -----Original Message-----
> From: [mailto:owner-
>] On Behalf Of Mark Bailie
> Sent: Friday, April 13, 2012 11:28 AM
> To:
> Subject: st: Thread-Index: AQHNGaMYxA41zL2YVU6FnoNj2rccMA==
> When I export the graph and save as a PNG file, using code below:
> .  graph export example.png
> It saves the PNG but its very small PNG because I did not maximise the
> graph viewer window before saving.
> Is there any code which I can run my do file and it saves a large high
> quality PNG?

*   For searches and help try:

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