how do I avoid that ggplot cuts off axis labels such as in this example, where the % Symbol isn't shown?
Asked
Active
Viewed 1,102 times
0
-
1`+ coord_cartesian(clip = "off")` – teunbrand May 04 '21 at 12:38
-
somehow this doesn't change anything – manuel459 May 04 '21 at 12:44
-
Then please provide a reproducible example. – teunbrand May 04 '21 at 13:15
-
1you can "expand" your axis ends, i.e. + scale_x_continuous(expand = c(0.1,0.1)) – Ray May 04 '21 at 13:20
1 Answers
0
Set x=element_blank()
in theme()
theme(axis.title.x=element_blank(),
axis.text.x=element_blank(),
axis.ticks.x=element_blank())

TarJae
- 72,363
- 6
- 19
- 66