How can I suppress the vertical gridlines in a ggplot2 plot while retaining the x-axis labels?

前端 未结 5 1122
轮回少年
轮回少年 2021-02-19 23:54

This is a follow-on from this question, in which I was trying to suppress the vertical gridlines.

The solution, as provided by learnr, was to add scale_x_continuous(brea

5条回答
  •  花落未央
    2021-02-20 00:03

    Well I found this solution while googling for this problem. I have not tried it, yet.

    http://wiki.stdout.org/rcookbook/Graphs/Axes%20(ggplot2)/

    You have to scroll down a bit.

    Best,

    Felix

提交回复
热议问题