Plotting time vs number
On 08/29/2013 02:19 PM, mohan.radhakrishnan at polarisft.com wrote:
Hi, ... The plots are all there but the x=axis labels are not there. The graph labels are only '12:30', '13:30' and '14:30' I think I need to use your code to get all the values.
Hi Mohan, Try this: plot(strptime(data$Time,"%H:%M:%S"),data$Kbytes,pch=0, type="b",col="red",col.axis="red", ylab="", xlab="",las=2,lwd=2.5,xaxt="n") library(plotrix) staxlab(at=as.numeric(strptime(data$Time,"%H:%M:%S")), labels=as.character(data$Time),nlines=3) Jim