This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Only show every nth axis tick marks in ggplot2?

I am able to group the dots by assigning my categorical data specific x- and y-values with empty spaces in between. Instead of showing every single tick mark on the axes,

plot with ticks

or showing no ticks at all,

plot with no ticks

I would like to show only every nth tick mark on the axes corresponding to the labels. Can this be done in ggplot? Or maybe there is a different approach to generate the plot I am looking for?

r ggplot2

0 answers

No answers yet.

Log in to answer this question.