If I want my data axis to have more gaps, but without converting the values, how can I do this in ggplot2? eg:
... + scale_x_continuous(breaks=scales.trans_breaks("log2", function(x) 2^x, n=8), limits=limits)
works if you want your data to be converted, and the n= parameter allows you to specify how many gaps. How can you specify breaks without data conversion? Are you just giving it an identification function?
r ggplot2
user248237dfsf
source share