[R] Three horizontal axes OR Two axes on same side?

Peter Dalgaard P.Dalgaard at biostat.ku.dk
Thu Jan 11 15:14:30 CET 2007


Rafael Jimenez wrote:
> Dear list:
>
> I need to reproduce a plot with three different horizontal axes.
>
> I know how to make plot with two different horizontal axes (one
> above, one below) using axis():
>    axis(1, ....)
>    axis(3, ....)
>
> However, I don't know how to produce two axes on the same side of the
> plot.
>
> Any pointers or examples?
>   
Try this, and I think you'll see the light:

plot(0)
axis(1, line=-3)


-- 
   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