powered by
Nelder's labeling algorithm
nelder(dmin, dmax, m, Q = c(1, 1.2, 1.6, 2, 2.5, 3, 4, 5, 6, 8, 10))
vector of axis label locations
minimum of the data range
maximum of the data range
number of axis labels
set of nice numbers
Justin Talbot justintalbot@gmail.com
Nelder, J. A. (1976) AS 96. A Simple Algorithm for Scaling Graphs, Journal of the Royal Statistical Society. Series C., pp. 94-96.