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]
Re: st: Formula/algorithm Stata uses to calculate default axis ranges and tick marks?
From
Maarten Buis <[email protected]>
To
[email protected]
Subject
Re: st: Formula/algorithm Stata uses to calculate default axis ranges and tick marks?
Date
Sun, 7 Oct 2012 10:12:41 +0200
The program that creates those tick values (-_natscale-) is build in
so we cannot take a look at it. However if you just want a program to
create "nice" tick values you can use -_natscale-.
Hope this helps,
Maarten
On Sat, Oct 6, 2012 at 8:46 PM, Michael Stepner wrote:
> 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/
--
---------------------------------
Maarten L. Buis
WZB
Reichpietschufer 50
10785 Berlin
Germany
http://www.maartenbuis.nl
---------------------------------
*
* 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/