0

How do I get a wider facet for the facet that only contains one variable on the x-axis. It is getting to narrow.

ggplot(df,aes(V1)) + geom_histogram(stat="count") + facet_grid(~Class, scales="free_x", space="free")+
  theme_bw(base_size = 8) +
  theme(axis.text.x = element_text(angle = 90, hjust = 1, size=5))

enter image description here

user2300940
  • 2,355
  • 1
  • 22
  • 35
  • remove the `space = "free` argument form `facet_grid()` If you need more precise control of individual facet width, you will have to rely on `geom_blank()` – Nate Nov 13 '17 at 13:10
  • Please add some reproducible data to your question.http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example – dww Nov 13 '17 at 14:59

0 Answers0