[R] mixing different modes of lty line type specification in legend() ?

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed Jun 5 13:15:00 CEST 2002



Marcus Eger wrote:
> 
> Hi List,
> is sth. like the following possible:
> 
> legend(x,y,c("A","B","C"), lty=list(1,"42","11")) ?

Well, you have to convert such a list anyway ...

> Or: is there a possibility to define a solid line using the "string" mode for lty?

What about 
  legend(x, y, c("A","B","C"), lty=c("dashed", "solid", "dotted"))

Uwe
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list