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

C# random value from dictionary and tuple -

cgi - How do I interpret URLs without extension as files rather than missing directories in nginx? -

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