[R] Help on direction of axis in R needed

Peter Dalgaard p.dalgaard at biostat.ku.dk
Wed Oct 11 11:44:03 CEST 2006


Silvia Lipski <sillispiral at yahoo.com> 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 documentation.
> 
> Thanks a lot!
> Silli

Just set the xlim=c(10,0) (or maybe rev(range(x)) or so).

-- 
   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)                  FAX: (+45) 35327907



More information about the R-help mailing list