[prev in list] [next in list] [prev in thread] [next in thread]
List: r-help
Subject: Re: [R] Legend: Custom distance between lines and text
From: Sebastian Schubert <schubert.seb () googlemail ! com>
Date: 2012-06-09 15:33:16
Message-ID: 4FD36CBC.5070309 () googlemail ! com
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On 09/06/12 13:20, peter dalgaard wrote:
>> I guess I overlook the corresponding part in the manual but how can I
>> modify the distance between the text and the line in a legend?
>>
>> Thank you for any hints!
>
> You mean like this?
>
> plot(0)
> legend(1, .5, legend=c("foo","bar"), lty=1:2, pch=NA)
> legend(1, .25, legend=c("foo","bar"), lty=1:2, pch=NA, x.intersp=2)
Thanks a lot. I think I even tried x.intersp before, worked fine now.
Sebastian
["signature.asc" (application/pgp-signature)]
______________________________________________
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.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic