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, statalist.org 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" <dradwin@mprinc.com>
To   <statalist@hsphsun2.harvard.edu>
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: owner-statalist@hsphsun2.harvard.edu [mailto:owner-
> statalist@hsphsun2.harvard.edu] On Behalf Of Mark Bailie
> Sent: Friday, April 13, 2012 11:28 AM
> To: statalist@hsphsun2.harvard.edu
> 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/


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