📅  最后修改于: 2022-03-11 14:52:01.148000             🧑  作者: Mango
# data must have the x variable as.POSIXct for time and the y variable
plot(data, xaxt="n")
axis.POSIXct(side=1, at=cut(data$time, "days"), format="%m/%d")
# or
plot(data$A ~ as.Date(data$Time,"%d/%m/%y"))