The R Project SVN R

Rev

Rev 71118 | Rev 71645 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 71118 Rev 71128
Line 148... Line 148...
148
hc <- hclust(dst <- dist(c(1:2, 5)), method="ave")
148
hc <- hclust(dst <- dist(c(1:2, 5)), method="ave")
149
plot(hc, cex = 2, axes=FALSE, ann=FALSE)
149
plot(hc, cex = 2, axes=FALSE, ann=FALSE)
150
## cex was not used in 3.0.[01]
150
## cex was not used in 3.0.[01]
151
 
151
 
152
## axis.Date() and axis.POSIXct() with reversed 'xlim'
152
## axis.Date() and axis.POSIXct() with reversed 'xlim'
153
dates <- c(as.Date("2016-08-19") - 10, Sys.Date())
153
toD <- as.Date("2016-08-19"); dates <- c(toD - 10, toD)
154
plot(dates, 1:2, xlim = rev(dates),
154
plot(dates, 1:2, xlim = rev(dates),
155
     ann=FALSE, yaxt="n", frame.plot=FALSE)
155
     ann=FALSE, yaxt="n", frame.plot=FALSE)
156
## failed to label the dates in R <= 3.3.1
156
## failed to label the dates in R <= 3.3.1