[R] Reversing xlim qplot

stephen sefick ssefick at gmail.com
Thu Oct 23 14:37:28 CEST 2008


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","179","148","119","61"))

-- 
Stephen Sefick
Research Scientist
Southeastern Natural Sciences Academy

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods.  We are mammals, and have not exhausted the
annoying little problems of being mammals.

								-K. Mullis



More information about the R-help mailing list