Hi everyone,

I am trying to find out how Stata chooses the exact default range of the y-axis. The article "Stata tip 23: Regaining control over axis range" (The Stata Journal (2005), 5, Number 3, pp. 467-468) notes that "to determine the range of an axis, Stata begins with the minimum and maximum of the data. Then it will widen (but never narrow) the axis range as instructed byrange(). Finally, it will widen the axis if necessary to accommodate any axis labels."

Does anyone have additional insights on how Stata determines how much white space to leave below the minimum and above the maximum respectively for a simple plot command without additional user-specifications?

Many thanks,
Christina