





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?
 
Thank you.




      
	[[alternative HTML version deleted]]

