I'm creating simple graphics and disaggregating my data by assignment and sex. When I do the following:
graph pie q_edu_3_a if q_edu_3_a!=99 & q_6_>=6, over(q_edu_3_a) by(assignment q_3_, title(What is the highest grade completed?) subtitle("Ages 6+ Disaggregated by Sex") rows(2)) plabel(2 percent) plabel(5 percent)
.STATA orders the graphs in two rows (this is fine), with the first row containing: Control Male, Control Female, Lite Male, and the second row containing Lite Female, Classic Male, Classic Female
What code can I use to make it so that the first row is Control Male, Lite Male, Classic Male and the second row (right beneath it) contains the female versions?
graph pie q_edu_3_a if q_edu_3_a!=99 & q_6_>=6, over(q_edu_3_a) by(assignment q_3_, title(What is the highest grade completed?) subtitle("Ages 6+ Disaggregated by Sex") rows(2)) plabel(2 percent) plabel(5 percent)
.STATA orders the graphs in two rows (this is fine), with the first row containing: Control Male, Control Female, Lite Male, and the second row containing Lite Female, Classic Male, Classic Female
What code can I use to make it so that the first row is Control Male, Lite Male, Classic Male and the second row (right beneath it) contains the female versions?
Comment