Skip to content
Prev 288902 / 398500 Next

Automaticall adjust axis scales

I don't believe this is possible in base graphics: you need to plan
your graphics ahead with something like plot(, ylim = range(x1, x2,
x3)). There's a pen-and-paper approach which means once something is
there, it's on the device permanently (unless you write over it).
Perhaps an interactive graphics package would allow it -- but I'll
happily be corrected (and informed) by others.

As a style thing, your use of c() is unnecessary and confusing.

identical(1:10, c(1:10))

Michael
On Mon, Mar 19, 2012 at 2:40 PM, Alaios <alaios at yahoo.com> wrote: