Announcement

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

  • why doesn't my msybol marker match the same color as my lines?

    Why is it for the orange-red line? I have a blue marker. When I've used the following code?


    Code:
    meologit q5_ i.procedure_t_c##pre_postno ||ptid:,vce(robust) or level(95)
    margins i.procedure_t_c#pre_postno
    marginsplot, by(procedure_t_c) plot1opts(lcolor(dkgreen)) ci1opts(color(dkgreen)) plot2opts(lcolor(orange_red)) ci2opts(lcolor(orange_red)) plot3opts(lcolor(cranberry)) ci3opts(lcolor(cranberry)) plot4opts(lcolor(sienna)) ci4opts(lcolor(sienna)) plot5opts(lcolor(blue)) ci5opts(lcolor(blue))
    
    //This produced two graphs for procedure_t_c =1 and procedure_t_c=0 at the pre_post=1 and pre_post=2 (which is what I want) but with 5 lots of lines (of course since q_5 is an ordinal variable of 1-5)
    Question1 : Why is it for the orange-red I get a blue marker? I'm aware I can add -mysmbol(lcolor blue)- however I don't understand why the other lines below and the orange_red one doesn't Question 2: What does the 'as observed' graph represent? I didn't ask for this to be plotted...I think
    Click image for larger version

Name:	Screenshot 2024-02-28 at 05.04.42.png
Views:	1
Size:	999.9 KB
ID:	1744860
    '?
Working...
X