?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
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
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
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
4 matches
Mail list logo