Re: [R] Help on Plot Title where text is "mixed" with numerical carachters

2012-08-30 Thread John Kane
?paste plot(1, main = paste(x, "hours", y , "minutes", z , "seconds", sep =" ")) John Kane Kingston ON Canada > -Original Message- > From: motyoc...@yahoo.com > Sent: Thu, 30 Aug 2012 06:49:04 -0700 (PDT) > To: r-help@r-project.org > Subject: [R] Help on Plot Title where text is "mixe

Re: [R] Help on Plot Title where text is "mixed" with numerical carachters

2012-08-30 Thread Greg Snow
Look at the sprintf and paste functions (either one will do what you describe). On Thu, Aug 30, 2012 at 7:49 AM, Andras Farkas wrote: > Dear All, > > I have the following code set up: > > x <-2000 > y <-8 > z <-3 > > I would need to use these numbers to show up in my plot title "mixed" with > te

Re: [R] help on plot title

2008-05-12 Thread Bert Gunter
Please read the docs (starting with "An Introduction to R") . It is unreasonable to expect to use command line based software without first reading the "how to" manuals. Also, and always, read the man pages: e.g. ?plot, ?plot.default and appropriate links. Finally, as a matter of etiquette, signe

Re: [R] help on plot title

2008-05-12 Thread Rolf Turner
title(main=paste("j =",j)) On 13/05/2008, at 9:45 AM, Lisa wrote: Hi, I am do some plotting and need to add title to each of the plots, Can anyone help me on how to add the variables to the title? here it is the program, the title i want should look like, j=1, j=2.., but if i use titl