Re: [R] ggplot geom_boxplot vertical margins

2011-05-18 Thread Justin Haynes
; - Original Message >> From: Justin Haynes >> To: r-help@r-project.org >> Sent: Wed, May 18, 2011 1:51:19 PM >> Subject: [R] ggplot geom_boxplot vertical margins >> >> If you plot: >> >> df<-data.frame(x=factor(1:100),y=rnorm(1000)) >> ggp

Re: [R] ggplot geom_boxplot vertical margins

2011-05-18 Thread Felipe Carrillo
US Fish & Wildlife Service California, USA http://www.fws.gov/redbluff/rbdd_jsmp.aspx - Original Message > From: Justin Haynes > To: r-help@r-project.org > Sent: Wed, May 18, 2011 1:51:19 PM > Subject: [R] ggplot geom_boxplot vertical margins > > If you pl

[R] ggplot geom_boxplot vertical margins

2011-05-18 Thread Justin Haynes
If you plot: df<-data.frame(x=factor(1:100),y=rnorm(1000)) ggplot(df,aes(x=x,y=y))+geom_boxplot() How do I remove those pesky margins on the sides of the plot area? Or maybe just reduce their size to something more like the spacing of the boxes? Thanks, Justin ___