I am plotting a graph with custom ticks. I am missing data at various ticks but having the ticks is vital to my information. The graph is excluding said ticks. How should I approach this?
For example, I don't have any data at 9 and it is not producing the tick at all. I understand it shouldn't label it with "9" but it should still produce it as a tick.
gplot(data = data, mapping = aes(x = V5, y= V3, color = V4))+
geom_point(alpha = 0.35) +
geom_jitter(alpha = 0.35) +
labs(title = "title", y = "y-label", x = "x-label")+
theme(legend.position = "none") +
scale_x_discrete(breaks = 1:27,
labels = c("1", "", "3", "", "", "6","", "", "9",
"", "", "12"))