un...@r-project.org] On Behalf Of Jim Lemon
> Sent: Saturday, March 12, 2016 9:34 PM
> To: Rainer M Krug; r-help mailing list
> Subject: Re: [R] specify size of box around legend
>
> Hi Rainer,
> You can use the text.width argument and override the calculated legend
> text width
avid L Carlson
Sent: Monday, March 14, 2016 9:14 AM
To: Jim Lemon; Rainer M Krug; r-help mailing list
Subject: Re: [R] specify size of box around legend
Also you can specify the upper left/lower right coordinates of the legend box:
# Get the default positions/sizes
plot(1, 1)
a <- legend(x="to
hropology
Texas A&M University
College Station, TX 77840-4352
-Original Message-
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Jim Lemon
Sent: Saturday, March 12, 2016 9:34 PM
To: Rainer M Krug; r-help mailing list
Subject: Re: [R] specify size of box around legend
H
Hi Rainer,
You can use the text.width argument and override the calculated legend
text widths.
Jim
On Sat, Mar 12, 2016 at 1:01 AM, Rainer M Krug wrote:
> Hi
>
> assume the following code:
>
> --8<---cut here---start->8---
> plot(1,1)
> legend(x="topleft", le
ssage-
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Rainer M
Krug
Sent: Saturday, 12 March 2016 01:02
To: r-help@r-project.org
Subject: [R] specify size of box around legend
Hi
assume the following code:
--8<---cut here---start->8-
On 11/03/2016 9:50 AM, Rainer M Krug wrote:
Duncan Murdoch writes:
> On 11/03/2016 9:01 AM, Rainer M Krug wrote:
>> Hi
>>
>> assume the following code:
>>
>> --8<---cut here---start->8---
>> plot(1,1)
>> legend(x="topleft", legend = LETTERS[1:10], title = "L
Duncan Murdoch writes:
> On 11/03/2016 9:01 AM, Rainer M Krug wrote:
>> Hi
>>
>> assume the following code:
>>
>> --8<---cut here---start->8---
>> plot(1,1)
>> legend(x="topleft", legend = LETTERS[1:10], title = "L 1")
>> legend(x="bottomleft", legend = paste(L
On 11/03/2016 9:01 AM, Rainer M Krug wrote:
Hi
assume the following code:
--8<---cut here---start->8---
plot(1,1)
legend(x="topleft", legend = LETTERS[1:10], title = "L 1")
legend(x="bottomleft", legend = paste(LETTERS[1:10], letters[1:12],LETTERS[1:10]), tit
Hi
assume the following code:
--8<---cut here---start->8---
plot(1,1)
legend(x="topleft", legend = LETTERS[1:10], title = "L 1")
legend(x="bottomleft", legend = paste(LETTERS[1:10],
letters[1:12],LETTERS[1:10]), title = "L 2")
legend(x="topright", legend = LET
9 matches
Mail list logo