Re: [R] title problem

2009-11-21 Thread Peter Ehlers
David Winsemius wrote: On Nov 21, 2009, at 1:19 PM, Gary wrote: I think Gabor suggestion works. Adding "line=" option in title makes it work. Here is a little modification of what Gabor suggested, Carol you may try this code: par(oma=c(3,1,4,1)) par(mfrow = c(1,2)) plot(c(1,2,3), c(9,8,7))

Re: [R] title problem

2009-11-21 Thread Gurmeet
Hi Carol, Try this > par(oma=c(2,2,2,2)) > par(mfrow = c(1,2)) > plot(c(1,2,3), c(9,8,7)) > plot(c(1,2,3), c(9,8,7)) > title(main = "Main title", sub ="Sub title",outer = TRUE, cex.main=1.5, cex.sub = 1.5) par(oma=c(2,2,2,2)) -- can be used to define outline of the plot. Arguments here are

Re: [R] title problem

2009-11-21 Thread David Winsemius
itle",outer = TRUE, cex.main=1.5,...) --- On Sat, 11/21/09, Gary wrote: From: Gary Subject: Re: [R] title problem To: "David Winsemius" Cc: "carol white" , "r-help list" > Date: Saturday, November 21, 2009, 9:39 AM You are right David/Carol. It seems ou

Re: [R] title problem

2009-11-21 Thread Gary
t one subtitle for all plots below the main title. >>> subtitle should work but if doesn't at the worst case I could do as follows: >>> >>> title(main = "Main title\nSub title",outer = TRUE, cex.main=1.5,...) >>> >>> --- On Sat, 11/21/09, Ga

Re: [R] title problem

2009-11-21 Thread David Winsemius
work but if doesn't at the worst case I could do as follows: title(main = "Main title\nSub title",outer = TRUE, cex.main=1.5,...) --- On Sat, 11/21/09, Gary wrote: From: Gary Subject: Re: [R] title problem To: "David Winsemius" Cc: "carol white" , "r-h

Re: [R] title problem

2009-11-21 Thread Gabor Grothendieck
btitle for all plots below the main title. > subtitle should work but if doesn't at the worst case I could do as follows: > > title(main = "Main title\nSub title",outer = TRUE, cex.main=1.5,...) > > --- On Sat, 11/21/09, Gary wrote: > >> From: Gary &g

Re: [R] title problem

2009-11-21 Thread carol white
Thanks Gary. No I want one subtitle for all plots below the main title. subtitle should work but if doesn't at the worst case I could do as follows: title(main = "Main title\nSub title",outer = TRUE, cex.main=1.5,...) --- On Sat, 11/21/09, Gary wrote: > From: Gary > S

Re: [R] title problem

2009-11-21 Thread Gary
You are right David/Carol. It seems outer=T does not work for "Sub title". I'm not sure what Carol is looking for, but in case you need separate sub titles for each graph, then you may want to use more than one title statement. Like: par(oma=c(2,2,2,2)) par(mfrow = c(1,2)) plot(c(1,2,3), c(9,8,7))

Re: [R] title problem

2009-11-21 Thread carol white
subtitle still doesn't get displayed --- On Sat, 11/21/09, Gurmeet wrote: > From: Gurmeet > Subject: Re: [R] title problem > To: "carol white" > Cc: r-help@r-project.org > Date: Saturday, November 21, 2009, 8:30 AM > Hi Carol, > Try this > >  par(oma=

Re: [R] title problem

2009-11-21 Thread David Winsemius
On Nov 21, 2009, at 11:39 AM, Gary wrote: Hi Carol, Try this par(oma=c(2,2,2,2)) par(mfrow = c(1,2)) plot(c(1,2,3), c(9,8,7)) plot(c(1,2,3), c(9,8,7)) title(main = "Main title", sub ="Sub title",outer = TRUE, cex.main=1.5, cex.sub = 1.5) I'm curious about what you are seeing with that s

Re: [R] title problem

2009-11-21 Thread Gary
Hi Carol, Try this > par(oma=c(2,2,2,2)) > par(mfrow = c(1,2)) > plot(c(1,2,3), c(9,8,7)) > plot(c(1,2,3), c(9,8,7)) > title(main = "Main title", sub ="Sub title",outer = TRUE, cex.main=1.5, cex.sub = 1.5) par(oma=c(2,2,2,2)) -- can be used to define outline of the plot. Arguments here are