Hello, I'm plotting an xyplot where a continuous var recorded every min is plotted on y, and time expressed as HH:MM:SS on x, as follows :
xaxis=list(tick.number=12,rot=90) lst=list(x=xaxis) xyplot(upt$LOAD_1 ~ upt$TIME, data=upt, type=c('g','p', 'r'), scales=lst) On the x-axis, every time label is drawn and the label quickly become unreadable as they overlap on each other. I wished to limit the number of label with 'tick.number=12' but it does not work as the x values are not treated as a numerical sequence. How can I limit the number of ticks and labels for a time series expressed as HH:MM:SS ? One way might be to convert to mins from an origin, the result would be less expressive though. Thank you for any help. -- View this message in context: http://www.nabble.com/Customize-axis-labels-in-xyplot-tp24126788p24126788.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.