Last data update: 2014.03.03
|
R: An Extension of Wilkinson's Algorithm for Position Tick...
An Extension of Wilkinson's Algorithm for Position Tick Labels on Axes
Description
extended is an enhanced version of Wilkinson's
optimization-based axis labeling approach. It is
described in detail in our paper. See the references.
Usage
extended(dmin, dmax, m, Q = c(1, 5, 2, 2.5, 4, 3),
only.loose = FALSE, w = c(0.25, 0.2, 0.5, 0.05))
Arguments
dmin |
minimum of the data range
|
dmax |
maximum of the data range
|
m |
number of axis labels
|
Q |
set of nice numbers
|
only.loose |
if true, the extreme labels will be
outside the data range
|
w |
weights applied to the four optimization
components (simplicity, coverage, density, and
legibility)
|
Value
vector of axis label locations
Author(s)
Justin Talbot justintalbot@gmail.com
References
Talbot, J., Lin, S., Hanrahan, P. (2010) An Extension of
Wilkinson's Algorithm for Positioning Tick Labels on
Axes, InfoVis 2010.
Results
|