extended: An Extension of Wilkinson's Algorithm for Position Tick...

Description Usage Arguments Value Author(s) References

View source: R/labeling.R

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

1
2
  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.


labeling documentation built on May 19, 2017, 6:57 p.m.

Search within the labeling package
Search all R packages, documentation and source code