This function is intended to be used similarly to
grid.clip. The only difference is that a non-rectangular
clipping region can be applied.
pushClipPath(clippath = NULL, label = NULL, name = NULL, draw = TRUE) popClipPath()
A graphics object, used as the definition of a clipping path.
A label for a defined reference.
A character identifier for the grob applying the clipping context.
A logical value indicating whether graphics output should be produced.
label is specified, uses a clipping path that has been
clippath is specified
it will be used as the new clipping context for the current
viewport. If both are specified, it will attempt to define the
clipping path with the given label, as well as adding the clipping
path as a clipping context for the current viewport.
popClipPath is an alias for
pushClipPath grob. The value is returned invisibly.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.