I have generated the following plot using the R code that follows it:
ggplot(lengths, aes(length, fill = library)) + geom_density(alpha = 0.2) + coord_cartesian(xlim = c(0, 60000))
Now I would like to make the plot a bit prettier:
- Make the x-axis show length every 5000 units (instead of every 20000)
- Add x-values on top of the three peaks (approx 3000,5000 and 35000).
How can I do that?
update in response to James: