[R] Ajdustment of data symbols

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


Hello,

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!

Best,
Giovanni



--
Giovanni Petris, PhD
Professor
Director of Statistics
Department of Mathematical Sciences
University of Arkansas - Fayetteville, AR 72701
Ph: (479) 575-6324, 575-8630 (fax)
http://definetti.uark.edu/




More information about the R-help mailing list