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