Re: [R] Reversing xlim qplot

2008-10-23 Thread stephen sefick
scale_x_reverse() sorry I figured it out On Thu, Oct 23, 2008 at 8:37 AM, stephen sefick <[EMAIL PROTECTED]> wrote: > I would like to be able to reverse the xlim on qplot > this is the code that I am using > > qplot(a[,"River.Mile"], a[,26] > ,ylab=colnames(a)[26], xlab="RiverMile", xlim=rev(c(60

[R] Reversing xlim qplot

2008-10-23 Thread stephen sefick
I would like to be able to reverse the xlim on qplot this is the code that I am using qplot(a[,"River.Mile"], a[,26] ,ylab=colnames(a)[26], xlab="RiverMile", xlim=rev(c(60, 216)))+geom_smooth()+scale_x_continuous(breaks=c(215,202,198,190,185,179,148,119,61), labels=c("215","202","198","190","185",