Skip to content
Prev 86534 / 398513 Next

labelling dots in plots

Is this something like what you want?

# make test data
x=1:10;  y=x;  names(y)=letters[1:length(y)]
# Now plot
plot(x, y, pch='', xlab='ValAddInd_byYear',  ylab='Cons_Elec_Ind_byYear')
text(x,names(y),1:length(x),cex=0.6)



HTH,
Rob

____________________________
Robert W. Baer, Ph.D.
Associate Professor
Department of Physiology
A. T. Still University of Health Science
800 W. Jefferson St.
Kirksville, MO 63501-1497 USA
----- Original Message ----- 
From: "Anne Katrin Heinrichs" <heinrichs at dkrz.de>
To: <r-help at stat.math.ethz.ch>
Sent: Wednesday, February 15, 2006 11:43 AM
Subject: [R] labelling dots in plots
for example)
anything else.
http://www.R-project.org/posting-guide.html