Dear all,

I have a basic question on coefplot. I would like to plot two subgraphs and apply headings before the categories of each variable. However, This is my code

Code:
            coefplot model3 model4 , drop(*.age20 *.religionsp *.ukborn *.sex *.yowave  *.nbrothers *.nchild2 *.lmst5 *.health1 *.livingpar _cons)  bylabel("Marriage expectations") xline(0) || model1 model2 , drop(*.age20 *.religionsp *.ukborn *.sex *.yowave  *.nbrothers *.nchild2 *.lmst5 *.health1 *.livingpar _cons) bylabel("Cohabitation expectations") headings("{bf:NS-SEC}" "{bf:Uni/college aspirations}" "{bf:Family structure}") byopts(yrescale)
When I use it, I get an error message : headings:invalid matchlist. I tried also with groups but with no results (here, the graph is produced but without headings).

Could you please help me with a potential solution?

Thank you.
Best regards,
Lydia