Re: [R] Putting x-axis in opposite order

2011-04-29 Thread Jim Lemon
On 04/29/2011 04:09 AM, Bogaso Christofer wrote: Hi all, please consider this plot: xx<- seq(4, 0.01, by = -0.04) yy<- rnorm(xx) plot(xx, yy, type="l") Here you see my original 'xx' was in decreasing order, however R puts it in the increasing order. I understand that in any plot x and y a

Re: [R] Putting x-axis in opposite order

2011-04-28 Thread Jonathan Daily
Actually, it is plotting the points in the decreasing order. See: plot(xx) Are you looking to reverse the x axis? Perhaps you will find an answer in either ?par or ?axis. On Thu, Apr 28, 2011 at 2:09 PM, Bogaso Christofer wrote: > Hi all, please consider this plot: > > > > xx <- seq(4, 0.01, by

Re: [R] Putting x-axis in opposite order

2011-04-28 Thread Breheny, Patrick
ct.org] On Behalf Of Bogaso Christofer Sent: Thursday, April 28, 2011 2:09 PM To: r-help@r-project.org Subject: [R] Putting x-axis in opposite order Hi all, please consider this plot: xx <- seq(4, 0.01, by = -0.04) yy <- rnorm(xx) plot(xx, yy, type="l") Here you s

[R] Putting x-axis in opposite order

2011-04-28 Thread Bogaso Christofer
Hi all, please consider this plot: xx <- seq(4, 0.01, by = -0.04) yy <- rnorm(xx) plot(xx, yy, type="l") Here you see my original 'xx' was in decreasing order, however R puts it in the increasing order. I understand that in any plot x and y axis grow is increasing order, however I am wond