powered by
This is a simple function which grabs the current plot dimentions and adjusts them by shrinking them by 4
usr2lims(adj=.04)
The automatic adjustment factor 'plot' adds to buffer the specified plot dimentions.
A 2 item (x and y) list of 2 item (min and max) vectors for x and y limits of the current plot area
par
# NOT RUN { plot(c(0,1), c(0,1)) usr2lims() # }
Run the code above in your browser using DataLab