Reputation: 14751
I have a faceted plot (about which I had this other question). I would like to control the interval of ylim() to reduce the clutter because it looks like this:
It's too detailed and I would like to display only 0 and 500, that is not even the maximum (the thin horizontal lines are enough). The reasons I want only those 2 values are:
Thanks in advance.
Upvotes: 0
Views: 2372
Reputation: 55695
just add the following to your code. you can tweak it based on what labels you want displayed on the y-axis.
scale_y_continuous(breaks = c(0, 500))
Upvotes: 1