ggplot2: Have shorter tick marks for tick marks without labels

前端 未结 3 1800
醉梦人生
醉梦人生 2020-12-06 01:50

I have a plot using ggplot2 in which I\'d like many ticks along the x-axis, yet only some of the ticks will have tick labels associated with them. However, I\'d like the tic

3条回答
  •  天涯浪人
    2020-12-06 02:47

    theme(axis.ticks.length)

    http://docs.ggplot2.org/0.9.2.1/theme.html should be useful.

    Edit Sorry, just read your question more carefully. Are the labeled ones the standard major.grid ticks? or labeled in some custom way?

提交回复
热议问题