Re: [R] how to add notes to the graph?

From: Jim Lemon <>
Date: Tue, 29 Jul 2008 18:50:33 +1000

On Mon, 2008-07-28 at 06:32 -0700, rlearner309 wrote:
> Hi,
> I have a simple graph:
> x <- c(1,2,3)
> plot(x, pch=16,type="b")
> I would like to add some notes just beside these 3 dots, and the notes are
> stored in a vector:
> a <- c(12,54,84)
> So the result will be: there should be a "12" below the first dot (or next
> to it, but not replacing the solid dot), a "54" next to the second dot...
> what if a is not numeric? a <- c("a","b","c")
Hi rlearner309,
Have a look at thigmophobe.labels in the plotrix package.

Jim mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Tue 29 Jul 2008 - 08:49:41 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 - 09:32:41 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive