R Plot function

Summary of R plot symbols, as specified by pch

Plot symbols (plot character: pch) in R are specified by integers 1 to 25. I can't remember them, but it's easy to draw them to see what they are.

Draw R plot characters

# draw a plot, use all 25 plot characters
# specify cex=2 so they are easier to see (cex = character expansion factor)
plot(1:25, cex=2, pch=c(1:25), xlab="pch", main="pch Summary (plot char)")


R is available from CRAN

CategoryR

R Plot (last edited 2007-04-19 05:40:35 by ChrisSeidel)