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, <Gillian.Frost@hsl.gsi.gov.uk> 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 <scott.merryman@gmail.com>
> To: statalist@hsphsun2.harvard.edu
> Date: 28/02/2013 13:43
> Subject: Re: st: Fw: Unable to combine graphs using -grc1leg-
> Sent by: owner-statalist@hsphsun2.harvard.edu
>
>
>
> 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/