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

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

php - facebook and github login HWIOAuthBundle and FOSUserBundle in Symfony2.1 -

hadoop - Sqoop installation export and import from postgresql -