Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Coefficient plot remove legend not working

    I am trying to create a coefficient plot by groups but cannot get rid of the legend, why is it still showing even though I include "legend(off)"?
    Code:
    sysuse auto
    eststo abc_1: reg price mpg
    eststo abc_2: reg price rep78
    eststo abc_1_2: reg price mpg length
    eststo abc_2_2: reg price rep78 length
    coefplot (abc_1) (abc_2), bylabel(ABC1) || (abc_1_2) (abc_2_2), bylabel(ABC2) ||, legend(off)

  • #2
    Code:
    coefplot (abc_1) (abc_2), bylabel(ABC1) || (abc_1_2) (abc_2_2), bylabel(ABC2) byopts(legend(off))
    note for others: coefplot is a community-contributed command; see ssc desc coefplot

    Comment

    Working...
    X