I am currently trying to plot a boxplot using a ggplot2 package of R. I am plotting a factor variable on the x-axis and continuous variable on the y-axis.

I have used two type of layer in my plot.

`qplot(x=gender,y=friend_count,data=subset(pf,!is.na(gender)),geom='boxplot')+scale_y_continuous()`

`qplot(x=gender,y=friend_count,data=subset(pf,!is.na(gender)),geom='boxplot')+coord_cartesian()`

I want to know the difference between this two layer because I am getting slightly different plots.