I have generated the following plot using the R code that follows it:
ggplot(lengths, aes(leng
1: + scale_x_continuous(breaks=rep(5000,12))
.
You could also put the xlim
declaration in here, using limits
, eg,
+ scale_x_continuous(breaks=rep(5000,12),limits=c(0,60000))
2: For the labels you could use annotate()
or geom_text()
. See this post for examples. You would have to calculate the values yourself for this though.