Suppose I want to graph some data and I want to set a specific range on the x-axis, like so:
sysuse auto, clear
scatter mpg price, xlabel(3000[1000]16000)
Stata seems to be interpreting this command to mean that I want roughly those limits and leaves a bit of extra space on the left and the right of those numbers. Is there any way to get rid of this extra space and to make graph cut off exactly at these numbers?