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 on April 23, and its replacement, is already up and running.

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

Re: st: Fw: Unable to combine graphs using -grc1leg-

Subject   Re: st: Fw: Unable to combine graphs using -grc1leg-
Date   Thu, 28 Feb 2013 15:17:07 +0000

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,


From:   Scott Merryman <>
Date:   28/02/2013 13:43
Subject:        Re: st: Fw: Unable to combine graphs using -grc1leg-
Sent by:

The example below works:

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:


This message contains privileged and confidential information intended
for the addressee(s) only. If this message was sent to you in error,
you must not disseminate, copy or take any action in reliance on it and
we request that you notify the sender immediately by return email.

Opinions expressed in this message and any attachments are not
necessarily those held by the Health and Safety Laboratory or any person
connected with the organisation, save those by whom the opinions were

Please note that any messages sent or received by the Health and Safety
Laboratory email system may be monitored and stored in an information
retrieval system.
Think before you print - do you really need to print this email?

Scanned by MailMarshal - Marshal's comprehensive email content security
solution. Download a free evaluation of MailMarshal at

The original of this email was scanned for viruses by the Government Secure Intranet virus scanning service supplied by Cable&Wireless Worldwide in partnership with MessageLabs. (CCTM Certificate Number 2009/09/0052.) On leaving the GSi this email was certified virus free.
Communications via the GSi may be automatically logged, monitored and/or recorded for legal purposes.
*   For searches and help try:

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