The R Project SVN R

Rev

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

Rev 25323 Rev 26327
Line 3... Line 3...
3
\title{ Draw Line Segments in a Grid Viewport }
3
\title{ Draw Line Segments in a Grid Viewport }
4
\description{
4
\description{
5
  This function draws line segments.
5
  This function draws line segments.
6
}
6
}
7
\usage{
7
\usage{
8
grid.segments(x0=0, y0=0, x1=1, y1=1,
8
grid.segments(x0 = unit(0, "npc"), y0 = unit(0, "npc"),
-
 
9
              x1 = unit(1, "npc"), y1 = unit(1, "npc"),
9
              default.units="npc", units.per.obs=FALSE,
10
              default.units = "npc", units.per.obs = FALSE,
10
              gp=gpar(), draw=TRUE, vp=NULL)
11
              gp = gpar(), draw = TRUE, vp = NULL)
11
}
12
}
12
\arguments{
13
\arguments{
13
  \item{x0}{ Numeric indicating the starting x-values of the line segments. }
14
  \item{x0}{ Numeric indicating the starting x-values of the line segments. }
14
  \item{y0}{ Numeric indicating the starting y-values of the line
15
  \item{y0}{ Numeric indicating the starting y-values of the line
15
    segments. }
16
    segments. }