Dear All, Suppose that I have this code
Code:
sysuse auto, clear
twoway (scatter mpg weight if weight < 2500) (scatter mpg weight if weight > 2500) ///
(lfit mpg weight if weight < 2500) (lfit mpg weight if weight > 2500), ///
xline(2500) legend(off)
which generates Array

My question is that, how can I obtain a graph with weight < 3,500 only (x axis)? Any suggestions are appreciated.