Re: [R] the title is too long for a graph

2008-06-11 Thread Hua Li
Thank you all! The answers are very helpful! Best regards, Hua --- On Wed, 6/11/08, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > > > Hua Li wrote: > >> Hi All, > >> > >> I have a problem of putting long titles on a > graph: > >> > >> for example, > >> > >> x= seq(1:100) > >> y=seq(1:100)

Re: [R] the title is too long for a graph

2008-06-10 Thread Prof Brian Ripley
On Tue, 10 Jun 2008, Barry Rowlingson wrote: Hua Li wrote: Hi All, I have a problem of putting long titles on a graph: for example, x= seq(1:100) y=seq(1:100) plot(x,y,main="p=0.05:A-B=3,C-D=10,D-E=100,A-F=2,AFR-E=3,ACE-D=1,ADEF-M=0,AED-E=10,DE-F=3,AB-J=4,AC-J=10,ED-F=1,ED-B=4,AF-B=10,CD-S=1

Re: [R] the title is too long for a graph

2008-06-10 Thread Gabor Grothendieck
Instead of placing this information in the title we could consider placing it in a legend. s <- "a=1,b=2,c=3" plot(1:10) legend("topleft", legend = strsplit(s, ",")[[1]], ncol = 1, cex = 0.5, bty = "n") On Tue, Jun 10, 2008 at 12:07 PM, Hua Li <[EMAIL PROTECTED]> wrote: > Hi All, > > I have a pr

Re: [R] the title is too long for a graph

2008-06-10 Thread Greg Snow
Of Hua Li > Sent: Tuesday, June 10, 2008 10:08 AM > To: r-help@r-project.org > Subject: [R] the title is too long for a graph > > Hi All, > > I have a problem of putting long titles on a graph: > > for example, > > x= seq(1:100) > y=seq(1:100) > plot(x,y,ma

Re: [R] the title is too long for a graph

2008-06-10 Thread Barry Rowlingson
Hua Li wrote: Hi All, I have a problem of putting long titles on a graph: for example, x= seq(1:100) y=seq(1:100) plot(x,y,main="p=0.05:A-B=3,C-D=10,D-E=100,A-F=2,AFR-E=3,ACE-D=1,ADEF-M=0,AED-E=10,DE-F=3,AB-J=4,AC-J=10,ED-F=1,ED-B=4,AF-B=10,CD-S=10,AM-C=4") R seems not able to print the whole

Re: [R] the title is too long for a graph

2008-06-10 Thread stephen sefick
#try this cex.main=1.1 This is a par parameter ?par plot(x,y,main="p=0.05:A-B=3,C-D=10,D-E=100,A-F=2,AFR-E=3,ACE-D=1,ADEF-M=0,AED-E=10,DE-F=3,AB-J=4,AC-J=10,ED-F=1,ED-B=4,AF-B=10,CD-S=10,AM-C=4", cex.main=1.1) On Tue, Jun 10, 2008 at 12:07 PM, Hua Li <[EMAIL PROTECTED]> wrote: > Hi All, > > I

Re: [R] the title is too long for a graph

2008-06-10 Thread Jorge Ivan Velez
Dear Hua, Try using "\n" in the title or the "cex.main" argument. See ?par for details. # First attempt x= seq(1:100) y=seq(1:100) plot(x,y,main="p=0.05:A-B=3,C-D=10,D-E=100,A-F=2,AFR-E=3,ACE-D=1,ADEF-M=0,\n AED-E=10,DE-F=3,AB-J=4,AC-J=10,\n ED-F=1,ED-B=4,AF-B=10,CD-S=10,AM-C=4") # Second attemp

[R] the title is too long for a graph

2008-06-10 Thread Hua Li
Hi All, I have a problem of putting long titles on a graph: for example, x= seq(1:100) y=seq(1:100) plot(x,y,main="p=0.05:A-B=3,C-D=10,D-E=100,A-F=2,AFR-E=3,ACE-D=1,ADEF-M=0,AED-E=10,DE-F=3,AB-J=4,AC-J=10,ED-F=1,ED-B=4,AF-B=10,CD-S=10,AM-C=4") R seems not able to print the whole title. The titl