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: Fw: Unable to combine graphs using -grc1leg-


From   Nick Cox <[email protected]>
To   [email protected]
Subject   Re: st: Fw: Unable to combine graphs using -grc1leg-
Date   Thu, 28 Feb 2013 16:52:54 +0000

My guess is that your guess is right. What the graph editor does and
what -grc1leg- does might not marry happily.

Nick

On Thu, Feb 28, 2013 at 3:17 PM,  <[email protected]> wrote:
> Hello Scott and Nick,
>
> Many thanks for your replies.
>
> Scott, I can confirm that the below code also works for me so, as Nick
> said, it must be something about that charts themselves that are messing
> things up.
>
> Nick, I haven't got the word "key" mentioned in the charts.  However, I do
> make a number of modifications to the individual charts using the graph
> editor, and I have discovered that -grc1leg- works fine on the unmodified
> charts.  So it looks like something I am doing in the graph editor is the
> culprit.  I'll try to keep my use of the graph editor to a minimum and see
> if that helps.
>
> Many thanks,
>
> Gillian
>
>
>
>
> From:   Scott Merryman <[email protected]>
> To:     [email protected]
> Date:   28/02/2013 13:43
> Subject:        Re: st: Fw: Unable to combine graphs using -grc1leg-
> Sent by:        [email protected]
>
>
>
> The example below works:
>
>
> clear*
> sysuse auto
> reg price c.weight##c.mpg  i.rep
> qui margins, at(weight=(1500(500)5000)  rep=(1(1)5))
> marginsplot , plotdimension(rep78) noci name(graph1, replace)
> qui margins, at(mpg=(10(10)50)  rep=(1(1)5))
> marginsplot , plotdimension(rep78) noci name(graph2, replace)
> grc1leg graph1 graph2
>
>
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index