Skip to content
Prev 200748 / 398503 Next

error message; ylim + log="y"

Tena koe Martin

This is what I get (it is unclear to me why you don't tell use
specifically what you get):

plot(1,1, xlim=c(1,10), ylim=c(0,10000), log="y", type='n')
Warning message:
In plot.window(...) : nonfinite axis limits [GScale(-inf,4,2, .); log=1]
plot(1,1, xlim=c(1,10), ylim=c(1,10000), log="y", type='n')

Not unreasonably, R has difficulty determining the y axis limits when
you tell it the minimum is log(0).

HTH ....

Peter Alspach