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
Related Posts with Understanding Stata's default yscale() choice
Replacing ICD value to another value in a datasetDear Stata Expert I would much appreicate your help on this issue. In a dataset where variabled DX1 …
Add one overall note, text or caption to a combined coefplotHi I use coefplot to stack several graphs together. When I want to add a note, it adds to each sub g…
Calculate difference across rows by the value of a third variableHi experts, My data are like below. It consists of one variable price, and another variable group. …
Remove spaces from string if consecutive one letter charactersHi how would I go about removing spaces from strings such as the following: B L GROW A I M INC becom…
Remove spaces from string if consecutive one letter characters or numbersHi how would I go about removing spaces from strings such as the following: 1 2 B L GROW A I M INC b…
Subscribe to:
Post Comments (Atom)
0 Response to Understanding Stata's default yscale() choice
Post a Comment