modify x axis labels in ggplot

PHOTO EMBED

Tue Aug 01 2023 17:23:00 GMT+0000 (Coordinated Universal Time)

Saved by @vs #r

# ensure all unique values are displayed
plot + ggplot2::scale_x_continuous(breaks = unique(data$x))
content_copyCOPY