Displaying 2 results from an estimated 2 matches for "fl_dat".
Did you mean:
fdat
2008 Dec 24
2
ggplot2 Xlim
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",fill="grey65")
FL_dat + scale_x_continuous(limits=c(20,170)) # Can't see anything
FL Number
29 22.9
30 63.4
31 199.3
32 629.6
33 2250.1
34 7452.5
35 19352.9
36 17655.5
37 13020.6
38 5856.0
39 2039...
2008 Dec 26
1
starting values update
...gt;
> 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",fill="grey65")
> FL_dat + scale_x_continuous(limits=c(20,170)) # Can't see anything
>
> FL Number
> 29 22.9
> 30 63.4
> 31 199.3
> 32 629.6
> 33 2250.1
> ...
>...