[R] Odp: (no subject)

Petr PIKAL petr.pikal at precheza.cz
Wed Mar 31 11:47:13 CEST 2010


Hi
r-help-bounces at r-project.org napsal dne 31.03.2010 06:15:38:

> 
> 
> 
> 
> 
> 
> Hi r-users,
>  
> I would like to display my legend with fill box and line symbol.  The 
first 
> color will be in the box and the second colour will just be a line.
>  
> legend("topright", c("observed","gamma sum fit"), col= c
> ("greenyellow","red"),pch=c(15, NA),lty = c(0,1),lwd=2)
>  
> Is it possible?

Did you try it?

Regards
Petr

>  
> Thank you.
> 
> 
> 
> 
> 
>    [[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list