Skip to content
Prev 386103 / 398513 Next

temporary clipping

Terry,

At the end of the example on ?clip, there is:

  do.call("clip", as.list(usr))  # reset to plot region

where 'usr' is the value of:

  usr <- par("usr")

called after the very first plot is generated.

The indication is that by using the final line of code in the example, the clipping region is reset to the plot region, probably also based upon any change to par("xpd") that may be relevant in your use case.

Does that help?

Regards,

Marc Schwartz