[R] (sem assunto)

Chuck Cleland ccleland at optonline.net
Thu Apr 20 14:39:49 CEST 2006


f <- 2
plot(runif(10), ylab=paste("Axis", f, collapse=" "))

?paste

Eric Ferreira wrote:
> Dear R-colleagues,
> 
> Is it possible to mix TEXT and VALUE of objects in y (or x) label of a plot?
> 
> For instance:
> 
> f<-2
> plot(..., ylab='Axis f', ...)
> 
> where "f" means the VALUE of "f".
> 
> Thany you in advance,
> 
> 
> Eric.
> 
> --
> Barba
> Departamento de Ciências Exatas
> Universidade Federal de Lavras
> Minas Gerais - Brasil
> 
> 	[[alternative HTML version deleted]]
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

-- 
Chuck Cleland, Ph.D.
NDRI, Inc.
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 512-0171 (M, W, F)
fax: (917) 438-0894




More information about the R-help mailing list