[R] Time on x-axis

From: Sangeetha Swaminathan <sangi_at_itc.utk.edu>
Date: Tue 21 Feb 2006 - 03:39:42 EST


Hello,

   I just started using the GNU R. I am having trouble plotting my data. I am tryin to plot the following data:

TIMESTAMP LOGIN-TIME
(hh:mm:ss) (s)

23:55:03       0.990972 
23:55:03       0.990972 
23:50:04       0.878968 
23:45:04       0.969271 
23:40:03       0.868848 
23:35:03        0.88141 
23:30:03       0.679571 
23:25:03       0.599834 
23:20:03       0.663436 
23:15:03       0.567414 
23:10:02       0.738379 
23:05:02       0.575764

with TIMESTAMP on the x-axis. The plot() function assumes the x-axis as the total number of events, and plots the desired graph. But I want the TIMESTAMP on the x-axis. If I try to change the x-axis, the y-axis gets modified too, and all I get is just a "dot" as a plot. Can someone tell me how I can make R plot my graph, with TIMESTAMP as my x-axis and LOGIN_TIME as my y-axis?

Thank you.

Sangeetha


R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Feb 21 03:43:56 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:36 EST