Skip to content
Prev 43096 / 63421 Next

I wish xlim=c(0, NA) would work. How about I send you a patch?

On 12-04-16 1:52 PM, Paul Johnson wrote:
Your suggestion sounds reasonable, but because plot limits are such a 
commonly used parameter, it would have to be done quite carefully.  The 
questions I'd ask before implementing it are:

  - Are there other locations besides plot.default where xlim and ylim 
are specified?  I'd like to have them updated consistently.

  - Are there any conflicting uses of NA for a limit in published packages?

  - Which package authors would need to be told about this change, so 
they could make a compatible change?

  - Where does it need to be documented?

Duncan Murdoch