teragene
unread,Mar 16, 2009, 1:15:45 AM3/16/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ggplot2
Hi Guys! I posted this problem I have several times. Still I didn't
find a good solution for this.
I specify my problem below.
== Goal:
I want to plot "horizontal bar chart with facet_grid in scales "free"
== Sample Data:
name,grade,section
student1,56,A
student2,68,A
student3,58,A
student4,99,B
student5,46,C
student6,44,C
student7,34,C
student8,56,C
student9,76,C
== Code:
qplot(name, grade, data=test, geom="bar")+facet_grid(section ~ .,
scales="free")+coord_flip()
==Output
It dosen't seem "scalse=free". It is fixed scales. This works nicely
in vertical bar plot.
NOT in horizontal format.
==What I want or expected
I want to plot this with scale free format.
teragene