The R Project SVN R

Rev

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

Rev 33361 Rev 33425
Line 61... Line 61...
61
> 
61
> 
62
> ## killed by 0 prior to 1.4.0 and in 1.4.1:
62
> ## killed by 0 prior to 1.4.0 and in 1.4.1:
63
> t1 <- ts(0:100)
63
> t1 <- ts(0:100)
64
> ## only warnings about values <= 0
64
> ## only warnings about values <= 0
65
> plot(t1, log = "y")
65
> plot(t1, log = "y")
66
Warning in xy.coords(x, NULL, log = log) : one y value <= 0 omitted from logarithmic plot
66
Warning in xy.coords(x, NULL, log = log) : 1 y value <= 0 omitted from logarithmic plot
67
> plot(cbind(t1, 10*t1, t1 - 4), log="y", plot.type = "single")
67
> plot(cbind(t1, 10*t1, t1 - 4), log="y", plot.type = "single")
68
Warning in xy.coords(x = matrix(rep.int(tx, k), ncol = k), y = x, log = log) : 
68
Warning in xy.coords(x = matrix(rep.int(tx, k), ncol = k), y = x, log = log) : 
69
	 7 y values <= 0 omitted from logarithmic plot
69
	 7 y values <= 0 omitted from logarithmic plot
70
> stopifnot(par("usr")[4] > 3) # log10: ylim[2] = 1000
70
> stopifnot(par("usr")[4] > 3) # log10: ylim[2] = 1000
71
> 
71
>