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]]

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to