powered by
Compute axis limits. The lower limit is 0 and the upper limit is determined by the highest data value, times a multiplier.
lim(x, mult = 1.1)
a vector of data values.
a number to multiply with the highest data value.
A vector of length two, which can be used as axis limits.
icesTAF-package gives an overview of the package.
icesTAF-package
# NOT RUN { plot(precip) plot(precip, ylim=lim(precip)) plot(precip, ylim=lim(precip), yaxs="i") # }
Run the code above in your browser using DataLab