Bookmark and Share

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]

Re: st: pdf_options for graph export


From   Eric Booth <[email protected]>
To   "<[email protected]>" <[email protected]>
Subject   Re: st: pdf_options for graph export
Date   Fri, 19 Aug 2011 20:46:21 +0000

<>

Type -graph set- to see the options for eps/png/ps.  For pdf (which I believe is available for Mac OSX only), use the -graph set window- options:

***********!
sysuse auto
graph set window fontface Courier
scatter price mpg, title(Test Title Here) name(g1, replace)
gr export test1.pdf, as(pdf) replace

graph set window fontface ComicSansMS
scatter price mpg, title(Test Title Here) name(g2, replace)
gr export test2.pdf, as(pdf) replace

graph display g1 g2
***********!

- Eric
__
Eric A. Booth
Public Policy Research Institute
Texas A&M University
[email protected]
On Aug 19, 2011, at 2:28 PM, Dimitriy V. Masterov wrote:

> Why are there no override options for graph export in Stata 12?
> 
> How does one change the font, for example?
> 
> DVM
> *
> *   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/


*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index