scales icon indicating copy to clipboard operation
scales copied to clipboard

Better breaks calculations for exponential transformations

Open thomasp85 opened this issue 2 years ago • 0 comments
trafficstars

Superseedes #59

While we no longer see errors in ggplot2 for these transformations (the report in the original issue), the placement of breaks with various transformations still leave a lot to be desired

library(ggplot2)
dat <- data.frame(x = 5:100)

ggplot(dat) + 
  aes(x = x, y = x) + 
  geom_point() +
  scale_y_continuous(trans = "exp")

thomasp85 avatar Nov 02 '23 09:11 thomasp85