Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: stata 9 how to change background color in twoway line


From   "Scott Merryman" <[email protected]>
To   <[email protected]>
Subject   RE: st: stata 9 how to change background color in twoway line
Date   Mon, 23 Jan 2006 10:03:12 -0600

Your original idea of using the graph option "graphregion(color(white))" :

  twoway (line dm_log_rgdp year if iso1<16), ytitle("dm_log_rgdp") 
  xtitle("year") graphregion(color(white)) bgcolor(white) by((country), 
  note("") cols(3)) ||, ylabel(-1(0.5)1, gmax angle (horizontal)) xlabel(#5)

is correct, expect it that has be within the by() option.  The suboptions
within the subtitle option removes the shaded boxes around the individual
subtitles.  

For example:

twoway scatter weight mpg, by(foreign, /// 
graphregion(color(white)) )  ///
subtitle(,  fcolor(white) lcolor(white))


Scott


> -----Original Message-----
> From: [email protected] [mailto:owner-
> [email protected]] On Behalf Of Zamira Simkins
> Sent: Monday, January 23, 2006 8:47 AM
> To: [email protected]
> Subject: Re: st: stata 9 how to change background color in twoway line
> 
> Thank you AbdelRahmen El Lahga and Svend,
> 
> s1color and s1mono both worked like a charm! And the lean schemes are also
> very useful to know. I wish STATA included them as alternatives in the
> "findit scheme"
> 
> Zamira
> 


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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