Edited I don't think that this is possible using an elegant parameter of ggplot, but will be happy to be proved wrong. However, here is a workaround that has the desired effect. The idea is to add an invisible layer to the plot with a single point that is high enough on the y-axis to force each panel to be a minimum size.In this case I have manually selected this value as 50, but you should be able to create an algorithm that is based on a percentage of maximum count or similar: df = data.
Frame(val=rnorm(2005), class=c(rep(c('a','b'), 1000), rep('c', 5))) dg Y = theme_text()) + facet_grid(class ~ . , scales="free", space="free") + geom_blank(data=dg, aes(x=0, y=value)) Edit 2 Thanks to @Thierry for the tip to use geom_blank rather than geom_point with invisible points.
I don't want to give the same amount of space to each facet - I want them to take up only as much height as necessary, except for a minimum height. – Yang Aug 18 at 10:32 Ah, I have misunderstood your original question, sorry. I have edited my answer to provide a possible workaround.
AFAIK, there isn't a way of doing this directly. – Andrie Aug 18 at 11:04 adrie, you should use geom_blank() here instead of geom_point() – Thierry Aug 18 at 12:29 @Thierry, great suggestion. Finally I find a real-world use for `geom_blank.
Question edited to reflect this. – Andrie Aug 18 at 12:42 Even better is to use expand_limits which uses geom_blank internally – hadley Aug 18 at 19:31.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.