I've seen this now with a bunch of different schemes--it seems to be better in some schemes than others, but it's bad in all of them I have tried (plotplain, 538w, and s2color, I don't like s2color but not everyone has plotplain).
Gives me this:

Okay, I get it, it is insisting the y axis start at 0. I planned to change the scale so it starts at 140 and ends at 180.

Clearly something is preventing yscale from working properly, but it seems to happen no matter what scheme I use. I think I must have accidentally set something outside of the command. Is there something I am overlooking? (yaxis options also don't help)
Thanks
Jonathan
Code:
sysuse bpwide, clear graph dot bp_before bp_after, over(agegrp) legend(pos(6) rows(1) label(1 "Before") label(2 "After")) scheme(s2color) graph export myfile.png, width(450) height(450)
Okay, I get it, it is insisting the y axis start at 0. I planned to change the scale so it starts at 140 and ends at 180.
Code:
sysuse bpwide, clear graph dot bp_before bp_after, over(agegrp) legend(pos(6) rows(1) label(1 "Before") label(2 "After")) scheme(s2color) yscale(range(140(10)180)) graph export myfile2.png, width(450) height(450)
Clearly something is preventing yscale from working properly, but it seems to happen no matter what scheme I use. I think I must have accidentally set something outside of the command. Is there something I am overlooking? (yaxis options also don't help)
Thanks
Jonathan
Comment