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]
st: RE: Thread-Index: AQHNGaMYxA41zL2YVU6FnoNj2rccMA==
From
"David Radwin" <[email protected]>
To
<[email protected]>
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
--
David Radwin
Research Associate
MPR Associates, Inc.
2150 Shattuck Ave., Suite 800
Berkeley, CA 94704
Phone: 510-849-4942
Fax: 510-849-0794
www.mprinc.com
> -----Original Message-----
> From: [email protected] [mailto:owner-
> [email protected]] On Behalf Of Mark Bailie
> Sent: Friday, April 13, 2012 11:28 AM
> To: [email protected]
> 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:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/