Re: [R] Show date on graph

2006-12-06 Thread Syed Abid Hussaini
Thanks Jim and Uwe!! Both methods work for me. Methods: 1. plot as.character(x) 2. mtext(format(date,"%Y-%m-%d"),...) __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://ww

Re: [R] Show date on graph

2006-12-05 Thread Jim Lemon
Syed Abid Hussaini wrote: > I have a character "2006-11-06" which was originally scanned from a csv file. > This character is > named date. I now use mtext (date) on a plot and i see strange cluttered > characters instead of > 2006-11-06. I tried many ways but i dont know whats going on. Then for

Re: [R] Show date on graph

2006-12-05 Thread Uwe Ligges
Syed Abid Hussaini wrote: > I have a character "2006-11-06" which was originally scanned from a csv file. > This character is > named date. I now use mtext (date) on a plot and i see strange cluttered > characters instead of Then it is not a character but some date/time object such as a POSIXlt

[R] Show date on graph

2006-12-05 Thread Syed Abid Hussaini
I have a character "2006-11-06" which was originally scanned from a csv file. This character is named date. I now use mtext (date) on a plot and i see strange cluttered characters instead of 2006-11-06. I tried many ways but i dont know whats going on. Then for testing i made an artificial chara