Thayer and Storer's labeling algorithm
thayer(dmin, dmax, m)
minimum of the data range
maximum of the data range
number of axis labels
vector of axis label locations
Thayer, R. P. and Storer, R. F. (1969) AS 21. Scale Selection for Computer Plots, Journal of the Royal Statistical Society. Series C., pp. 206-208.