Learn R Programming

grImport (version 0.9-1.1)

drawPath: Draw a Picture Object

Description

This is a generic function that does the hard work for picture when drawing paths of a "Picture" object as part of the current plot.

Usage

drawPath(p, trans, ...)

Arguments

p

A "Picture" object.

trans

A function that takes two arguments, x and y, and can be used to transform the locations on a path into sensible coordinates within the current plot.

Other arguments, typically graphical parameters.

See Also

picture and grid.picture