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


From   Scott Merryman <scott.merryman@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Fw: Unable to combine graphs using -grc1leg-
Date   Thu, 28 Feb 2013 07:42:55 -0600

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


Scott
*
*   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