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:

enter image description here

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

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -