Dear Felipe,
Is something like this what you are looking for?
z=1
plot(rnorm(100),main=paste("The variable is ",z,sep=""))
z=5
plot(rnorm(100),main=paste("The variable is ",z,sep=""))
HTH,
Jorge
On Wed, Jun 18, 2008 at 11:30 PM, Felipe <manoelsantos666@gmail.com>
wrote:
> how can i write in a txt or put in a title of a plot or boxplot or
> something
> a variable
> like let's say z=1
> and i want my title or a write like this
> "the variable is 1"
> if z change the 1 above change
> understand??
> do anyone know??
>
> tks
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
[[alternative HTML version deleted]]