Sunday, April 18, 2010

R pchs, point symbols






R points symbols

png('tmp.png', width=800, height=2000);
plot(c(1,2), c(0, 20), type = 'n', xlab="", ylab="", main='', xaxt='n', yaxt='n');
points(rep(1.3, 20), 1:20, pch=1:20, cex=3);
text(rep(1.7,20), 1:20, as.character(1:20), cex=3);

No comments: