Re: [R] add text to a plot, create character labels

2012-08-01 Thread Yolande Tra
Thanks for the tip for future typos. Yolande On Wed, Aug 1, 2012 at 1:38 PM, David Winsemius wrote: > > On Aug 1, 2012, at 9:04 AM, Yolande Tra wrote: > > Hi, >> >> I was trying to run the following, where the labels on the x axis are >> dates >> and need to be converted to characters. It did no

Re: [R] add text to a plot, create character labels

2012-08-01 Thread David Winsemius
On Aug 1, 2012, at 9:04 AM, Yolande Tra wrote: Hi, I was trying to run the following, where the labels on the x axis are dates and need to be converted to characters. It did not work. Any help would be appreciated. Thanks. text(axTicks(1),par("usr)[3] There is an unmatched quote in

[R] add text to a plot, create character labels

2012-08-01 Thread Yolande Tra
Hi, I was trying to run the following, where the labels on the x axis are dates and need to be converted to characters. It did not work. Any help would be appreciated. Thanks. > text(axTicks(1),par("usr)[3]-2,srt=45,adj=1,labels=as.character(c("2008-01-08","2008-08-10","2008-08-22","2008-09-03",