[R] ts.plot data labels

Berton Gunter gunter.berton at gene.com
Fri Jul 1 00:09:29 CEST 2005


 
 "xy.labels" is not a valid parameter for ts.plot;it is for plot.ts (the
plot method for ts objects). Please re-read the Help files and note the
difference between them.

-- Bert Gunter
Genentech Non-Clinical Statistics
South San Francisco, CA
 
"The business of the statistician is to catalyze the scientific learning
process."  - George E. P. Box
 
 

> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch 
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Beth Wilmot
> Sent: Thursday, June 30, 2005 2:25 PM
> To: r-help at stat.math.ethz.ch
> Subject: [R] ts.plot data labels
> 
> Dear R users,
> I am trying to put labels on the data points on a ts.plot.
>  
> I have tried:
> ts.plot(df.ts, gpars=list(xy.labels=colnames(df.ts), 
> xlab="group", ylab="level"))
> which plots fine but gives no labels
>  
> xy.labels=TRUE 
> also plots without labels
>  
> I also tried using text() but got an error 
>  
> Error in xy.coords(x, y, recycle = TRUE) : 
>         Argument "x" is missing, with no default
> 
> 
> Thanks,
> Beth
>  
> 
> 
> 	[[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
>




More information about the R-help mailing list