I am new to Stata, and I need my graph to look like the following image (X-label removed for privacy reasons).
where the Y-labels are on the other side of the Y-axis. Currently, when I run my code (which is the same code with different values), the graph ends up this way:

My code is below:
twoway (scatter A parameter, mc(sea)) (rcap Lower95confidencelimit Upper95confidencelimit A, horizontal lcolor(sea)), ysize(6) xsize(6) ylabel(1 "EQ-VAS < mean" 2 "EQ-VAS > mean" 3 "EQ-5D < mean" 4 "EQ-5D > mean" 5 "Other employment category not mentioned" 6 "Retired" 7 "Military" 8 "Student" 9 "Unable to work" 10 "Unemployed" 11 "Employed" 12 "Net monthly income prefer not to say" 13 "Net income above $100,000" 14 "Net income $75,000-$99,999" 15 "Net income $50,000-$74,999" 16 "Net income $35,000-$49,999" 17 "Net income $20,000-$34,999" 18 "Net income less than $20,000" 19 "Fairly (easy) to make ends meet" 20 "Some/great difficulty making ends meet" 21 "Education high" 22 "Education mid" 23 "Education low" 24 "Age 65-75" 25 "Age 55-64" 26 "Age 45-54" 27 "Age 35-44" 28 "Age 25-34" 29 "Age 18-24", angle(0) noticks) ytitle("") xtitle("Total") xlabel(15 "15" 20 "20" 25 "25" 30 "30" 35 "35 " 40 "40" 45 "45 " 47 " " , angle(0)) legend(off)
I have tried editing the axis properties in the graph editor and nothing seems to change. Both graphs have the exact same code, just different data sets and labels, so I am unsure why the y-label position is different.
where the Y-labels are on the other side of the Y-axis. Currently, when I run my code (which is the same code with different values), the graph ends up this way:
My code is below:
twoway (scatter A parameter, mc(sea)) (rcap Lower95confidencelimit Upper95confidencelimit A, horizontal lcolor(sea)), ysize(6) xsize(6) ylabel(1 "EQ-VAS < mean" 2 "EQ-VAS > mean" 3 "EQ-5D < mean" 4 "EQ-5D > mean" 5 "Other employment category not mentioned" 6 "Retired" 7 "Military" 8 "Student" 9 "Unable to work" 10 "Unemployed" 11 "Employed" 12 "Net monthly income prefer not to say" 13 "Net income above $100,000" 14 "Net income $75,000-$99,999" 15 "Net income $50,000-$74,999" 16 "Net income $35,000-$49,999" 17 "Net income $20,000-$34,999" 18 "Net income less than $20,000" 19 "Fairly (easy) to make ends meet" 20 "Some/great difficulty making ends meet" 21 "Education high" 22 "Education mid" 23 "Education low" 24 "Age 65-75" 25 "Age 55-64" 26 "Age 45-54" 27 "Age 35-44" 28 "Age 25-34" 29 "Age 18-24", angle(0) noticks) ytitle("") xtitle("Total") xlabel(15 "15" 20 "20" 25 "25" 30 "30" 35 "35 " 40 "40" 45 "45 " 47 " " , angle(0)) legend(off)
I have tried editing the axis properties in the graph editor and nothing seems to change. Both graphs have the exact same code, just different data sets and labels, so I am unsure why the y-label position is different.
Comment