Message-ID: <73f827b50812032159g7ffc9d6dh92edfe3a1b0807ef@mail.gmail.com>
Date: 2008-12-04T05:59:58Z
From: Gundala Viswanath
Subject: Howto Add Labels Next To Markers in Scatter Plot
Dear all,
How can I plot the data below with scatter plot
so that the next to the marker it contain the label for "species"
__DATA__
class true_hits false_hits species
big 2350 180 lion
big 375 20 dog
big 635 97 cow
big 78 4 horse
big 694 93 giraffe
I am stuck with the following construct:
dat <-read.delim("mydata_data.txt")
rl <- dat[dat$class%in%"big",]
plot(rl$true_hits,rl$false_hits, pch=pch_list[["big"]],
xlab="# True Hits", ylab="# False Hits",bg="red")
- Gundala Viswanath
Jakarta - Indonesia