Re: [R] Making a line in a legend shorter

2010-11-22 Thread Jim Lemon

On 11/22/2010 01:38 PM, Luis Felipe Parra wrote:

Hello, I am putting a legend with lines in a line plot and I would like to
make the lines in the legend shorter. Does anybody knows how to do this?


Hi Felipe,
The only rather clunky way I can think of is to use pch=- instead of 
lty or lwd. There are longer dashes in most character sets to give you a 
bit of control.


Jim

__
R-help@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.


Re: [R] Making a line in a legend shorter

2010-11-22 Thread Peter Ehlers

On 2010-11-21 18:38, Luis Felipe Parra wrote:

Hello, I am putting a legend with lines in a line plot and I would like to
make the lines in the legend shorter. Does anybody knows how to do this?


I think the segment length is still hard-coded in legend().
Last July there was a request to lengthen the segment.
Maybe this post will help you:

 https://stat.ethz.ch/pipermail/r-help/2010-July/246599.html

Peter Ehlers



Thank you

Felipe Parra

[[alternative HTML version deleted]]


__
R-help@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.


[R] Making a line in a legend shorter

2010-11-21 Thread Luis Felipe Parra
Hello, I am putting a legend with lines in a line plot and I would like to
make the lines in the legend shorter. Does anybody knows how to do this?

Thank you

Felipe Parra

[[alternative HTML version deleted]]

__
R-help@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.