The R Project SVN R

Rev

Rev 88200 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 88200 Rev 89700
Line 185... Line 185...
185
axis.POSIXct(3, at = "2022-10-01 00:00:30.25", mgp = c(3,2,0))
185
axis.POSIXct(3, at = "2022-10-01 00:00:30.25", mgp = c(3,2,0))
186
 
186
 
187
## axis.POSIXct: a few days, extending the format
187
## axis.POSIXct: a few days, extending the format
188
days <- seq(as.Date("2022-10-01"), as.Date("2022-12-21"), by="days")
188
days <- seq(as.Date("2022-10-01"), as.Date("2022-12-21"), by="days")
189
x <- as.POSIXct(as.character(days))
189
x <- as.POSIXct(as.character(days))
190
plot(data.frame(x, y = 1), xaxt="n")
190
plot(data.frame(x = range(x), y = 1), xaxt="n")
191
axis.POSIXct(1, x)
191
axis.POSIXct(1, x)
192
axis.POSIXct(1, x, at = as.Date("2022-10-12"), mgp = c(3,2,0), tck = -0.04)
192
axis.POSIXct(1, x, at = as.Date("2022-10-12"), mgp = c(3,2,0), tck = -0.04)
193
axis.POSIXct(3, x, at = as.POSIXct("2022-10-15"))
193
axis.POSIXct(3, x, at = as.POSIXct("2022-10-15"))
194
axis.POSIXct(3, x, at = as.POSIXlt("2022-10-15"), mgp = c(3,2,0))
194
axis.POSIXct(3, x, at = as.POSIXlt("2022-10-15"), mgp = c(3,2,0))
195
axis.POSIXct(1, x, at = "2022-11-01 23:00", mgp = c(3,2,0), tck = -0.04)
195
axis.POSIXct(1, x, at = "2022-11-01 23:00", mgp = c(3,2,0), tck = -0.04)