Re: [R] how to change the plot from X-axis to Y-axis

2013-02-18 Thread arun
Hi  plot(totdata,seq_along(totdata),type='l',pch=1,lty=1,col='blue',lwd=1) A.K. - Original Message - From: Jie Tang To: r-help@r-project.org Cc: Sent: Monday, February 18, 2013 10:17 PM Subject: [R] how to change the plot from X-axis to Y-axis hello ,Rusers:

Re: [R] how to change the plot from X-axis to Y-axis

2013-02-18 Thread Jim Lemon
On 02/19/2013 02:17 PM, Jie Tang wrote: hello ,Rusers: I have a dataset for example totdata=c(8.020 7.412 8.110 8.270) plot(totdata[1:4],type='l',pch=1,lty=1,col='blue',lwd=1) and the data could be plotted as the attachment figure. now I want to exchange its x-axis and y-axis in the figure .

[R] how to change the plot from X-axis to Y-axis

2013-02-18 Thread Jie Tang
hello ,Rusers: I have a dataset for example totdata=c(8.020 7.412 8.110 8.270) plot(totdata[1:4],type='l',pch=1,lty=1,col='blue',lwd=1) and the data could be plotted as the attachment figure. now I want to exchange its x-axis and y-axis in the figure .How could I modify the plot command ? than