The R Project SVN R

Rev

Rev 59039 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 59039 Rev 61433
Line 12... Line 12...
12
\description{
12
\description{
13
  These functions create and draw a series of lines.
13
  These functions create and draw a series of lines.
14
}
14
}
15
\usage{
15
\usage{
16
grid.lines(x = unit(c(0, 1), "npc"),
16
grid.lines(x = unit(c(0, 1), "npc"),
17
          y = unit(c(0, 1), "npc"), 
17
          y = unit(c(0, 1), "npc"),
18
          default.units = "npc", 
18
          default.units = "npc",
19
          arrow = NULL, name = NULL,
19
          arrow = NULL, name = NULL,
20
          gp=gpar(), draw = TRUE, vp = NULL)
20
          gp=gpar(), draw = TRUE, vp = NULL)
21
linesGrob(x = unit(c(0, 1), "npc"),
21
linesGrob(x = unit(c(0, 1), "npc"),
22
          y = unit(c(0, 1), "npc"), 
22
          y = unit(c(0, 1), "npc"),
23
          default.units = "npc", 
23
          default.units = "npc",
24
          arrow = NULL, name = NULL,
24
          arrow = NULL, name = NULL,
25
          gp=gpar(), vp = NULL)
25
          gp=gpar(), vp = NULL)
26
grid.polyline(...)
26
grid.polyline(...)
27
polylineGrob(x = unit(c(0, 1), "npc"),
27
polylineGrob(x = unit(c(0, 1), "npc"),
28
             y = unit(c(0, 1), "npc"), 
28
             y = unit(c(0, 1), "npc"),
29
             id=NULL, id.lengths=NULL,
29
             id=NULL, id.lengths=NULL,
30
             default.units = "npc", 
30
             default.units = "npc",
31
             arrow = NULL, name = NULL,
31
             arrow = NULL, name = NULL,
32
             gp=gpar(), vp = NULL)
32
             gp=gpar(), vp = NULL)
33
}
33
}
34
\arguments{
34
\arguments{
35
  \item{x}{A numeric vector or unit object specifying x-values.}
35
  \item{x}{A numeric vector or unit object specifying x-values.}
36
  \item{y}{A numeric vector or unit object specifying y-values.}
36
  \item{y}{A numeric vector or unit object specifying y-values.}
37
  \item{default.units}{A string indicating the default units to use
37
  \item{default.units}{A string indicating the default units to use
38
    if \code{x} or \code{y} are only given as numeric vectors.}  
38
    if \code{x} or \code{y} are only given as numeric vectors.}
39
  \item{arrow}{A list describing arrow heads to place at either end
39
  \item{arrow}{A list describing arrow heads to place at either end
40
    of the line, as produced by the \code{arrow} function.}
40
    of the line, as produced by the \code{arrow} function.}
41
  \item{name}{ A character identifier. }
41
  \item{name}{ A character identifier. }
42
  \item{gp}{An object of class \code{gpar}, typically the output
42
  \item{gp}{An object of class \code{gpar}, typically the output
43
    from a call to the function \code{gpar}.  This is basically
43
    from a call to the function \code{gpar}.  This is basically