Filters X-axis for consecutive breaks with at least the specified distance.
filter_breaks(breaks = NA, plot = plot, min_cm_distance = 0.5, axis = "x")A numeric vector of filtered x-axis breaks.
A numeric vector of x-axis breaks.
A ggplot object used to extract plot dimensions and scales.
A numeric of the minimum distance between breaks.
Axis to filter on, either "x" or "y".
Gerardo Rodriguez