Re: [R] How to align the text in the legend

2007-11-29 Thread Wang, Zhaoming (NIH/NCI) [C]
Thanks Jim! And it does work!! Zhaoming -Original Message- From: jim holtman [mailto:[EMAIL PROTECTED] Sent: Thursday, November 29, 2007 5:26 PM To: Wang, Zhaoming (NIH/NCI) [C] Cc: r-help@r-project.org Subject: Re: [R] How to align the text in the legend try this when plotting the

Re: [R] How to align the text in the legend

2007-11-29 Thread jim holtman
e in detail? I'm new to this. > Thanks > Zhaoming > > > -Original Message- > From: jim holtman [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 29, 2007 4:05 PM > To: Wang, Zhaoming (NIH/NCI) [C] > Cc: r-help@r-project.org > Subject: Re: [R] How to align t

Re: [R] How to align the text in the legend

2007-11-29 Thread Wang, Zhaoming (NIH/NCI) [C]
Can you give me a little more in detail? I'm new to this. Thanks Zhaoming -Original Message- From: jim holtman [mailto:[EMAIL PROTECTED] Sent: Thursday, November 29, 2007 4:05 PM To: Wang, Zhaoming (NIH/NCI) [C] Cc: r-help@r-project.org Subject: Re: [R] How to align the text i

Re: [R] How to align the text in the legend

2007-11-29 Thread jim holtman
Have you tried a non-proportional font like Courier? On Nov 29, 2007 12:14 PM, Wang, Zhaoming (NIH/NCI) [C] <[EMAIL PROTECTED]> wrote: > Hello, > > > > I tried to align lines of text in the legend of a plot. It always > defaults to the central alignment. How can I adjust it to be left > alignmen

Re: [R] How to align the text in the legend

2007-11-29 Thread Wang, Zhaoming (NIH/NCI) [C]
p: [R] How to align the text in the legend Well, did you look at xjust, yjust options of legend? And maybe it would be worth to check adj graphic parameter see ?par Petr [EMAIL PROTECTED] napsal dne 29.11.2007 18:14:55: > Hello, > > > > I tried to align lines of text in the leg

[R] How to align the text in the legend

2007-11-29 Thread Wang, Zhaoming (NIH/NCI) [C]
Hello, I tried to align lines of text in the legend of a plot. It always defaults to the central alignment. How can I adjust it to be left alignment? Here is the code fragment written in python using Rpy module: text = 'Quantiles #Loci\n' text += '%s %6d\n' % (' 100',tot