par - Controlling inner figure margins in R -
i must have changed in par()
settings, cannot recall what. looks inner figure margins must have changed somewhere. obvious whenever add lines, using lines()
, abline()
, or points()
functions during plotting.
below image illustrate problem:
the black solid line @ y=0 represents abline(h=0)
. can see, line crosses plotting region.
any ideas on how fix this? have tried multiple things, did not come solution problem yet.
the answer problem given setting par(xpd=false)
.
thanks ben bolker.
Comments
Post a Comment