Re: [R] ggplot2 Xlim

2008-12-26 Thread Felipe Carrillo
Thanks Hadley: I had already gone to your website and stat="identity" is what I needed. --- On Fri, 12/26/08, hadley wickham wrote: > From: hadley wickham > Subject: Re: [R] ggplot2 Xlim > To: mazatlanmex...@yahoo.com > Cc: r-help@r-project.org, "Wayne F" &

Re: [R] ggplot2 Xlim

2008-12-26 Thread hadley wickham
the > number of FL at any given FL size. Thanks > > > --- On Thu, 12/25/08, Wayne F wrote: > >> From: Wayne F >> Subject: Re: [R] ggplot2 Xlim >> To: r-help@r-project.org >> Date: Thursday, December 25, 2008, 2:43 PM >> I'm just a ggplot2 beginner,

Re: [R] ggplot2 Xlim

2008-12-26 Thread Felipe Carrillo
L value, I only want to count the number of FL at any given FL size. Thanks --- On Thu, 12/25/08, Wayne F wrote: > From: Wayne F > Subject: Re: [R] ggplot2 Xlim > To: r-help@r-project.org > Date: Thursday, December 25, 2008, 2:43 PM > I'm just a ggplot2 beginner, but... >

Re: [R] ggplot2 Xlim

2008-12-25 Thread Wayne F
I'm just a ggplot2 beginner, but... It seems to me that you're mixing continuous and factor variables/concepts. It looks to me as if ForkLength and Number are continuous values. But you'll need to convert ForkLength into a factor before using geom="bar". I do that and the graph "works" but the ba

Re: [R] ggplot2 Xlim

2008-12-24 Thread stephen sefick
would you make this reproducible, please. Think cut and paste out of email into R. ?dput my guess would be the breaks argument On Wed, Dec 24, 2008 at 12:31 PM, Felipe Carrillo wrote: > Hi: I need some help. > I am ploting a bar graph but I can't adjust my x axis scale > I use this code: >

[R] ggplot2 Xlim

2008-12-24 Thread Felipe Carrillo
Hi: I need some help. I am ploting a bar graph but I can't adjust my x axis scale I use this code: i <- qplot(ForkLength,Number,data=FL,geom="bar") i + geom_bar(colour="blue",fill="grey65") # too crowded FL_dat <- ggplot(FL,aes(x=ForkLength,y=Number)) + geom_bar(colour="green",f