Let consider a simple plot
library(tidyverse)
mtcars %>%
ggplot(aes(mpg, disp)) +
geom_point() +
geom_smooth()
It automatically set labels on Y axis 200-400 with 200 points intervals, and 10-15-20-25-30-35 on X axis with 5 points intervals.
How to setup let say 50 points intervals on Y axis, and 10 points on X?
Thanks