?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
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
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
text. The x,y,z numbers would need to change, the text would not. So my title
should look like this
"x txt1 y txt2 z txt3"
so if:
txt1=hours
txt2=m
matter of etiquette, signed emails are more likely to get
helpful responses. BTW, is this a homework problem?
Cheers,
Bert
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Lisa
Sent: Monday, May 12, 2008 2:45 PM
To: r-help@r-project.org
Subject: [R] help on plo
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
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 title("j=",j), the j will go to the x axis. Can anyone help me
on this?
thanka
6 matches
Mail list logo