powered by
ggplot2
Function for determining number of ticks on axis of ggplot2 plots.
number_ticks(n)
integer giving the desired number of ticks on axis of ggplot2 plots. Non-integer values are rounded down.
a vector of axis-label breaks
Based on function pretty.
pretty