Hi there
I wonder if anyone could help with this problem?
Using nonsensical data for illustration, I would like to be able rescale my x-axis for the different groups AND show a vertical line through a fixed value (i.e. 40), but Stata won't let me do both:
Any advice very much appreciated!
With thanks
I wonder if anyone could help with this problem?
Using nonsensical data for illustration, I would like to be able rescale my x-axis for the different groups AND show a vertical line through a fixed value (i.e. 40), but Stata won't let me do both:
Code:
use https://stats.idre.ucla.edu/stat/stata/notes/hsb2, clear replace write = write-40 if female == 0 twoway (scatter read write), by(ses female, xrescale cols(2)) xline(40) xscale(range(40))
With thanks
Comment