Dani, You can put text on your graphs using the locator function. Here is an example
hist(rnorm(1000,0,1) #plots a histogram for you xy.cord<-locator(1) #Once you give this click on the graph to get the coordinates text(xy.cord, "Text you want to write") Hope this helps. Cheers../Murli -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Greg Snow Sent: Tuesday, September 02, 2008 1:38 PM To: Dani Valverde; R Help Subject: Re: [R] Text In recent versions of R there are the functions grconvertX and grconvertY that will convert between the different coordiate systems. You can use them to convert from the device or ndc systems to user coordinates, then place the text using the text function. Hope this helps, -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare [EMAIL PROTECTED] (801) 408-8111 > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Dani Valverde > Sent: Monday, September 01, 2008 11:17 AM > To: R Help > Subject: [R] Text > > 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? > Best, > > Dani > > -- > 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 > > ______________________________________________ > 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. > ______________________________________________ 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. ______________________________________________ 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.