I'm using this code to "cut" the Y-axis range of a dot graph. But it does not work, and I can not figure out why. I'll appreciate any advice. - Thanks.
Code:
sysuse auto, clear graph dot (median) mpg (mean) mpg, /// xalternate over(foreign, label(labsize(medsmall))) /// ytitle(Average MPG) ysc(r(15(5)30)) yla(15(5)30) /// linetype(line) lines(lcolor(teal) lwidth(thin) lpattern(dash)) /// legend(label(1 Median) label(2 Mean))
Comment