Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Maarten Buis <maartenlbuis@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: Changing line style in marginsplot |
Date | Thu, 8 Aug 2013 11:38:28 +0200 |
On Thu, Aug 8, 2013 at 11:16 AM, John Antonakis wrote: > After margins, where I had an interaction between two continuous predictors, > I would like to specify that the two regression lines (for high and low > values of the moderator) have different line patterns. > > At this time I have: > > marginsplot, cline(lpattern(1 "." 2 "--" )) > > ....but Stata ignores this. You can do that by typing: marginsplot, plot1opts(lpattern(".")) plot2opts(lpattern("--")) Hope this helps, Maarten --------------------------------- Maarten L. Buis WZB Reichpietschufer 50 10785 Berlin Germany http://www.maartenbuis.nl --------------------------------- * * 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/