Dear Stata users:

When I do the lpoly graph, it seems no option allows me to restrict my scale of the axis to a certain range. What should I do if I want the scale on the plot to be narrowed down?

For example, if the scale of my x-axis is between -4 and 4 and I want the scale on the final plot only between -2 and 2.

I have tried lpoly y x, xlab(-2 2) and lpoly y x, xscale(range(-2 2)), but it doesn't work.

Best,
Jeffery