[R] Help on direction of axis in R needed

2006-10-11 Thread Silvia Lipski
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

Re: [R] Help on direction of axis in R needed

2006-10-11 Thread Peter Dalgaard
Silvia Lipski [EMAIL PROTECTED] writes: 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

Re: [R] Help on direction of axis in R needed

2006-10-11 Thread Gavin Simpson
On Wed, 2006-10-11 at 02:27 -0700, Silvia Lipski wrote: 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

Re: [R] Help on direction of axis in R needed

2006-10-11 Thread Philipp Pagel
I'd like to plot things with axes going from the highest to the lowest value You can use the xlim and ylim parameters of the plot function. E.g: x = 1:100 plot(x, x^2) # normal plot(x, x^2, xlim=c(100,0)) # reversed x axis cu Philipp -- Dr. Philipp Pagel

Re: [R] Help on direction of axis in R needed

2006-10-11 Thread Petr Pikal
@stat.math.ethz.ch 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