Question: Only show every nth axis tick marks in ggplot2?
gravatar for dzhang122
5 weeks ago by
dzhang1220 wrote:

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?

ggplot2 R • 179 views
ADD COMMENTlink written 5 weeks ago by dzhang1220

That is pure ggplot s the question might get closed. See e.g.

ADD REPLYlink written 5 weeks ago by ATpoint46k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 2726 users visited in the last hour