Description Usage Arguments Value Author(s) Examples
This method allows the addition of a re-scaled pixmap to an existing
plot, possibly as a logo, optionally preserving aspect. It may be
used interactively with locator
, and is positioned in the
coordinate system of the plot region. Since the logo is displayed
using image
, it does not yet seem possible to use the function
outside this region.
1 2 3 |
x |
an object of class |
px |
a vector of two x coordinates, or a list with two named
elements x and y, such as that returned by |
py |
if px is not a list, a vector of two y coordinates |
asp |
if omitted or NULL (default), output respects both y coordinates, if a number greater than zero, aspect is preserved in proportion to the difference between x coordinates, multiplied by asp, and only the first y coordinate is respected. |
... |
potentially further arguments passed to and from methods. |
The same pixmap object with changed bounding box and cell resolution
Roger Bivand
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.