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]

st: No markers in marginsplot legend


From   "Gauvin Jean-Philippe" <jean-philippe.gauvin@umontreal.ca>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: No markers in marginsplot legend
Date   Fri, 18 Oct 2013 13:26:46 -0400

Hi,

I am trying to do a graph with marginsplot in Stata 12, but the legend is
empty. The legend key is there, the line and tick marks too, but not the
marker symbol. No matter what I try (including changing the markers in the
graph editor). Leaving the default markers does not help either: they remain invisible.

Any help would be appreciated! Here is the code I used:

logit GWxp01 sex c.age revenu scolx left right i.GWRISK##c.hierarchy [pweight=pond]
margins GWRISK, at(hierarchy=(1 2 3 4 5 6))

marginsplot, ti("Hierarchical") ytitle(Prob. agreeing expert is credible) xtitle(Bias score)  ///
legend(ring(0) pos(7) order(1 "Low risk" 2 "High risk"))  ///
plotdimensions(GWRISK) ///
plot1opts(msymbol(Oh)) plot2opts(msymbol(T))


Cheers,
jp

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