[R] Text

Peter Dalgaard P.Dalgaard at biostat.ku.dk
Mon Sep 1 19:26:20 CEST 2008


Dani Valverde wrote:
> Hello,
> I would like to place some text that should appear in the same
> position of the graphic device, preferably outside the plotting area,
> regardless the x and y axes limits. How can I do this?

I think you can use title() with an adj= argument.

Otherwise, try mtext(), using par("usr") and par("pin") to calculate the
at= argument.

> Best,
>
> Dani
>


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