Hi something like that? y<-1:10 x<-11:20
plot(x,y) plot(x[10:1],y) # reverse x HTH Petr On 11 Oct 2006 at 2:27, Silvia Lipski wrote: Date sent: Wed, 11 Oct 2006 02:27:34 -0700 (PDT) From: Silvia Lipski <[EMAIL PROTECTED]> To: [email protected] Subject: [R] Help on direction of axis in R needed > Hi! > > I'd like to plot things with axes going from the > highest to the lowest value, so that e.g. high values > on the xaxis are plotted to the left and low values to > the right. > Could anyone tell me how this is done? I couldn't find > anything in the documentation. > > Thanks a lot! > Silli > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html and provide commented, > minimal, self-contained, reproducible code. Petr Pikal [EMAIL PROTECTED] ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
