search for: ylabnoproblem

Displaying 1 result from an estimated 1 matches for "ylabnoproblem".

2003 Apr 30
2
ylab in plot.POSIXct
...function Here is a function that demonstrates the behavior. ylabProblem <- function() { x <- ISOdate(2003, 4, 1:10) # POSIXct vector y <- rnorm(10) plot(x, y, ylab = 'I am y') } It works to invoke the low-level plotting routines by hand as follows: ylabNoProblem <- function() { x <- ISOdate(2003, 4, 1:10) # POSIXct vector y <- rnorm(10) plot.default(x, y, xaxt = 'n', xlab = '', ylab = 'I am y') axis.POSIXct(1, x) } But I don't like calling methods explicitly like this.