Dear Stata users,
I am trying to make a dotplot similar to the one below, except I would have liked to have the

I have also tried to use
twoway scatter or twoway dot, with the idea, that maybe I could add a second yaxis.
However, the "dot or scatter" do not show the frequency-distribution as well as the command dotplot - but maybe there is an option to dot / scatter to make it similar to dotplot?
Do you have any advise that could help me?
Thanks in advance.
I am trying to make a dotplot similar to the one below, except I would have liked to have the
- y axis to the left and keep the yaxis' own labels on the left side
- "ylines" label to the right
Code:
dotplot whr , over(cprkoen) mean /// title("WHR") ytitle("(waist/hip)") subtitle("WHO cutoff") note(" 2007 ", bc(red)) /// scale(1.5) yline(0.85 0.90) ysc(alt) ylabel(0.85 "women" 0.90 "men" , angle(0))
I have also tried to use
twoway scatter or twoway dot, with the idea, that maybe I could add a second yaxis.
However, the "dot or scatter" do not show the frequency-distribution as well as the command dotplot - but maybe there is an option to dot / scatter to make it similar to dotplot?
Do you have any advise that could help me?
Thanks in advance.
Comment