I've thought about it, but the position should be always the same, locator() should return me the same value.

Daniel Valverde Saubí

Grup de Biologia Molecular de Llevats
Facultat de Veterinària de la Universitat Autònoma de Barcelona
Edifici V, Campus UAB
08193 Cerdanyola del Vallès- SPAIN

Centro de Investigación Biomédica en Red
en Bioingeniería, Biomateriales y
Nanomedicina (CIBER-BBN)

Grup d'Aplicacions Biomèdiques de la RMN
Facultat de Biociències
Universitat Autònoma de Barcelona
Edifici Cs, Campus UAB
08193 Cerdanyola del Vallès- SPAIN
+34 93 5814126



En/na Peter Dalgaard ha escrit:
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





______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to