Thanks Jim,
What happens if I want one solid line and four custom lines
("92","11","12","62).
I tried c("10","92","11","12","62) and it said that you can't use 0's. I
also tried:
ownlines<-c("92","11","12","62)
lty=c(1,ownlines)
which resulted in the same thing.
jholtman wrote:
>
> You c
You can create your own dashed lines:
lty
The line type. Line types can either be specified as an integer
(0=blank, 1=solid (default), 2=dashed, 3=dotted, 4=dotdash,
5=longdash, 6=twodash) or as one of the character strings "blank",
"solid", "dashed", "dotted", "dotdash", "longdash", or "twodash",
Dear R-Users
I have 2 questions:
Firstly, If I create a matplot and legend for multiple vectors and then tag
another vector on using matlines (e.g. a 'total' of all vectors), is there
anyway to add the new line to the legend without recreating it? I have
created the plot this way because I w
3 matches
Mail list logo