grid.line.to {grid}R Documentation

Draw a Line to a Specified Position

Description

Grid has the notion of a current location. This function draws a line from the current location to the location specified in the function call and sets the current location to be the location specified in the function call.

Usage

grid.line.to(x=1, y=1, default.units="npc", draw=TRUE, gp=gpar(), vp=NULL)

Arguments

x ~~Describe x here~~
y ~~Describe y here~~
default.units ~~Describe default.units here~~
draw ~~Describe draw here~~
gp An object of class gpar, typically the output from a call to the function gpar. This is basically a list of graphical parameter settings.
vp ~~Describe vp here~~

Author(s)

Paul Murrell

See Also

Grid, viewport, \code{grid.move.to}

Examples






[Package Contents]