Get the axis breaks of a ggplot2 object

getAxisBreaks(x)

Arguments

x

a ggplot object