Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Formula/algorithm Stata uses to calculate default axis ranges and tick marks?
From
Michael Stepner <[email protected]>
To
[email protected]
Subject
st: Formula/algorithm Stata uses to calculate default axis ranges and tick marks?
Date
Sat, 6 Oct 2012 14:46:52 -0400
Hello,
I'm trying to find a description of the formula or algorithm Stata
uses to set the default look of a scatter plot's axes: how it chooses
the default range and tick marks. I've searched online and in the
Stata manual, but haven't found any details. I've read that Stata
chooses approximately 5 "nice values" for the tick marks, but haven't
found any indication of how those "nice values" are selected.
If anyone could point me to a detailed description of the methodology
for selecting the nice defaults, it would be greatly appreciated!
Even if it's just pointing me to some code where these defaults are
calculated and implemented, that would be a great help.
Thank you,
Michael Stepner
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/