How do I change the stacking order in a bar chart in ggplot2?
Posted
by jermdemo
on Stack Overflow
See other posts from Stack Overflow
or by jermdemo
Published on 2010-03-11T18:47:40Z
Indexed on
2010/03/13
0:37 UTC
Read the original article
Hit count: 291
From the online bar chart guide:
qplot(factor(cyl), data=mtcars, geom="bar", fill=factor(gear))
How do I get 5 to sit on the bottom, 4 above that, and 3 on top?
© Stack Overflow or respective owner