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

Jie Tang totangjie at gmail.com
Tue Feb 19 04:17:37 CET 2013

hello ,Rusers:
 I have a dataset for example
totdata=c(8.020 7.412 8.110 8.270)

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 ?

thank you

More information about the R-help mailing list