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: Changing graphregion color in gr twoway with by
From
Brad Humphreys <[email protected]>
To
[email protected]
Subject
st: Changing graphregion color in gr twoway with by
Date
Thu, 12 Aug 2010 09:53:58 -0400
Hi statlisters,
I am having trouble changing the graphregion color in a twowar graph
with the by option. Here's the code I've tried:
twoway (line var1 year, xline(1980 1992 1996)), by(var2, iscale(*.8)
yrescale xrescale iylabel ixlabel)
graphregion( fcolor(green) icolor(green) color(green) ifcolor(green));
I have tried to fill in every graphregion option that I cam think of
in that graphregion(.) option, but the color of the graph never
changes. This has been easy for lots of other graphs.
I have also tried the undocumented option bgcolor(<colorstyle>) that I
read about here. That didn't work either.
Any suggestions about changing this color?
Thanks,
Brad Humphreys
University of Alberta
*
* 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/