That is qplot, is it possible to switch the location of axis_h and strip_h?
 
I produced a plot where I would like to have the strip_h on the bottom and the 
axis_h on the top of the facet plot.   Is that possible? 
 
 
 
P.S. I figured out how to not show the x-axis ticks, while still showing the 
x-lablel. 
There is probably a better way, but here is what I found that seems to work:
VADeaths_flat_df = stack(as.data.frame(VADeaths))
names(VADeaths_flat_df) = c('Data','Person')
 
counts <- ddply(VADeaths_flat_df, .(cut(Data, breaks=fullseq(range(Data), 20)), 
Person), nrow) 
names(counts) <- c("bin", "person", "n")
qplot(person, n, data = counts, fill = person, geom="bar", stat="identity", 
width = 0.9) +  facet_grid(. ~ bin) + opts(axis.text.x = NULL) 
 
Thank you again for all your feedback. 


      
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to