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 at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: RE: Change fill intensity in marginsplot


From   Richard Williams <richardwilliams.ndu@gmail.com>
To   statalist@hsphsun2.harvard.edu, statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: Change fill intensity in marginsplot
Date   Tue, 18 Dec 2012 13:14:28 -0500

Another excellent idea, thanks. It took me a ridiculous amount of time to figure out how to do shaded confidence intervals so I don't want to forget now.

At 10:36 AM 12/18/2012, Rebecca Pope wrote:
Hi Richard,
I have standard commands for graph editing saved. Stata likes this in
your working directory or personal folder, but since they are standard
and used across projects, the personal directory is fairly convenient.
The nice part of this approach is you don't have to write it for every
command, so if you have a standard format for nearly everything you
produce you can have an overall customized scheme. Alternately, you
could just give it a specific task like changing the fill intensity.

Pick one graph to edit & record as Teresa suggested. Rather than
copying the command, just save the recording to your personal folder.
In the future, you can call this command in whatever graph syntax you
are using with, eg -play("setfill30pct.grec")- as an option.

Rebecca



On Tue, Dec 18, 2012 at 9:07 AM, Fort, Teresa C.
<Teresa.C.Fort@tuck.dartmouth.edu> wrote:
> Make the graph using the graphics editor and ask it to record the command it uses. (Third button on the bottom left of the graphics window: "Copy Command to Clipboard".) Then you can see how the command is written without having to figure out the syntax.
>
> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Richard Williams
> Sent: Tuesday, December 18, 2012 9:55 AM
> To: statalist@hsphsun2.harvard.edu
> Subject: st: Change fill intensity in marginsplot
>
> I am giving commands like the following:
>
> marginsplot, scheme(s1mono) recastci(rarea)
>
> This gives me shaded confidence intervals. The fill intensity is 80, which is darker than I want. How can I change the fill intensity? You can find fill intensity options for things like -twoway- but every syntax I have tried produces an error in marginsplot. I would thing you'd add something like -fin(30)- but that doesn't work. I can change the fill intensity in the graphics editor but I'd rather just get it the way I want in the first place.
>
> -------------------------------------------
> Richard Williams, Notre Dame Dept of Sociology
> OFFICE: (574)631-6668, (574)631-6463
> HOME:   (574)289-5227
> EMAIL:  Richard.A.Williams.5@ND.Edu
> WWW:    http://www.nd.edu/~rwilliam
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/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/faqs/resources/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/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/

-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME:   (574)289-5227
EMAIL:  Richard.A.Williams.5@ND.Edu
WWW:    http://www.nd.edu/~rwilliam

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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