|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: sts graph: setting color of graph region
Thanks to Scott and Friedrich.
Scott suggested the following successful change:
-sts graph, graphregion(color(none))-
to
-sts graph, graphregion(color(white))-
Friedrich pointed me to an archive post (http://www.stata.com/statalist/archive/2004-03/msg00846.html
):
which suggested using the undocumented -bgcolor()- option, which
removed the remaining border color:
-scatter mpg weight, graphregion(color(white)) bgcolor(white)-
On Dec 18, 2009, at 2:31 PM, Friedrich Huebler wrote:
Michael,
Here are some posts from the archive that may help.
http://www.stata.com/statalist/archive/2003-09/msg00507.html
http://www.stata.com/statalist/archive/2004-03/msg00846.html
Friedrich
On Fri, Dec 18, 2009 at 4:36 PM, Michael McCulloch
<[email protected]> wrote:
Thanks Scott,
However, there's still a narrow border around the outer region with
-lblueishgrey- shading, which I've tried unsuccessfully to suppress
with:
sts graph, graphregion(color(white) lcolor(none))
sts graph, graphregion(color(white) margin(zero))
sts graph, graphregion(color(white) margin(none))
sts graph, graphregion(color(white) lstyle(none))
Sorry for the picky request, but the journal requires no color at
all in
graphs.
Michael
On Dec 18, 2009, at 12:56 PM, Scott Merryman wrote:
Try
-sts graph, graphregion(color(white))-
Scott
On Fri, Dec 18, 2009 at 2:23 PM, Michael McCulloch
<[email protected]> wrote:
Hello,
In Stata 9, for sts graph, I'd like to have the entire graph,
both graph
region and plot region, have no shading. I've tried the
following, with
no
change in fill coloring:
sysuse cancer, clear
stset studytime
sts graph, graphregion(style(none))
sts graph, graphregion(fcolor(none))
sts graph, graphregion(color(none))
And the following makes the entire graph filled in sky blue, even
though
I've specified "none":
sts graph, plotregion(fcolor(none))
Any suggestions would be appreciated.
*
* 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/
Best wishes,
Michael McCulloch
Pine Street Foundation
124 Pine Street
San Anselmo, CA 94960-2674
tel: 415-407-1357
fax: 206-338-2391
*
* 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/