Re: [R] placing a text in the corner of a plot

From: Jorge Ivan Velez <jorgeivanvelez_at_gmail.com>
Date: Tue, 29 Jul 2008 18:08:51 -0400

Dear Jörg,

Perhaps,

plot(1:10)
legend("topleft",c("Your text here"),pch=1)

See ?legend and ?text for more information.

HTH, Jorge

On Tue, Jul 29, 2008 at 6:04 PM, Jörg Groß <joerg_at_licht-malerei.de> wrote:

> Is there an easy way to add a text into an R-plot and place it in the upper
> left corner?
>
> Like that:
>
>
> --------------------------------
> | (a) |
> | |
> | |
> | |
> | |
> | |
> --------------------------------
>
> The (a) should be at the borders of a box defined by the box()-command.
>
> ______________________________________________
> R-help_at_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.
>

        [[alternative HTML version deleted]]



R-help_at_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. Received on Tue 29 Jul 2008 - 22:14:26 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 29 Jul 2008 - 23:32:54 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive