You can use the `ggh4x` package (look at the x-axis)
More info at: https://teunbrand.github.io/ggh4x/articles/PositionGuides.html#minor-ticks
``` r
library(ggplot2)
library(ggh4x)
library(dplyr)
tibble(
x = 0,
y = 0,
) %>%
ggplot(aes(x=x, y=y))+
geom_point()+
scale_x_continuous(
guide = "axis_minor"
)
```

<sup>Created on 2022-12-20 with [reprex v2.0.2](https://reprex.tidyverse.org)</sup>
You can use the `ggh4x` package (look at the x-axis)
More info at: https://teunbrand.github.io/ggh4x/articles/PositionGuides.html#minor-ticks
``` r
library(ggplot2)
library(ggh4x)
library(dplyr)
tibble(
x = 0,
y = 0,
) %>%
ggplot(aes(x=x, y=y))+
geom_point()+
scale_x_continuous(
guide = "axis_minor"
)
```

<sup>Created on 2022-12-20 with [reprex v2.0.2](https://reprex.tidyverse.org)</sup>