Re: [R] Issues with Legend symbols

2010-09-27 Thread Phil Spector
The expression 19:15:21:22 evaluates as follows: 19:15:21:22 [1] 19 20 21 22 Warning messages: 1: In 19:15:21 : numerical expression has 5 elements: only the first used 2: In 19:15:21:22 : The expression 2:2:2:2 evaluates as follows: 2:2:2:2 [1] 2 I'm *guessing* you mean c(19,15,21,22)

[R] Issues with Legend symbols

2010-09-27 Thread beloitstudent
Hello forum! I am currently having trouble getting R to recognize one of my pch characters. Here's what I have: legend(120, 40, c("SAL-arterial", "SAL-portal", "GLP-1-arterial", "GLP-1-portal"), bty="n", col=c("black"), pch=19:15:21:22, pt.bg="white", pt.cex=2:2:2:2, lty=1, lwd=2, text.col="blac