Set Clipping Region
Set clipping region in user coordinates
clip(x1, x2, y1, y2)
user coordinates of clipping rectangle
How the clipping rectangle is set depends on the setting of
par("xpd"): this function changes the current setting
until the next high-level plotting command resets it.
Clipping of lines, rectangles and polygons is done in the graphics engine, but clipping of text is if possible done in the device, so the effect of clipping text is device-dependent (and may result in text not wholly within the clipping region being omitted entirely).
Exactly when the clipping region will be reset can be hard to
plot.new always resets it.
Functions such as
reset it if
par("xpd") has been changed. However,
functions such as
plot.dendrogram can manipulate
1 2 3 4 5 6 7 8
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.