[R] Ajdustment of data symbols

Giovanni Petris gpetris at uark.edu
Thu Dec 1 17:01:20 CET 2016


Is there a way to specify a non-default adjustment for data symbols, similar to what "adj" does for text? 

For example, the following lines of code produce a red triangle on the bottom border of the plot:

plot(0, 0, type = 'n', xlab = "", ylab = "")
points(0.25, par("usr")[3], pch = 17, col = "red", cex = 2, xpd = TRUE)

I would like to draw the triangle completely outside the plotting area, with the upper vertex touching the x-axis...

Thank you in advance!


Giovanni Petris, PhD
Director of Statistics
Department of Mathematical Sciences
University of Arkansas - Fayetteville, AR 72701
Ph: (479) 575-6324, 575-8630 (fax)

More information about the R-help mailing list