The R Project SVN R

Rev

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

Rev 25278 Rev 25323
Line 1... Line 1...
1
\name{grid.edit}
1
\name{grid.edit}
2
\alias{grid.edit}
2
\alias{grid.edit}
3
%- Also NEED an `\alias' for EACH other topic documented here.
-
 
4
\title{Edit the Description of a Grid Graphical Object}
3
\title{Edit the Description of a Grid Graphical Object}
5
\description{
4
\description{
6
  Changes the value of one or more elements of the list structure
5
  Changes the value of one or more elements of the list structure
7
  within a graphical object and redraws the graphical object.
6
  within a graphical object and redraws the graphical object.
8
}
7
}
9
\usage{
8
\usage{
10
grid.edit(grob, ..., redraw=TRUE)
9
grid.edit(grob, ..., redraw=TRUE)
11
}
10
}
12
%- maybe also `usage' for other objects documented here.
-
 
13
\arguments{
11
\arguments{
14
  \item{grob}{An object of class \code{"grob"}.}
12
  \item{grob}{An object of class \code{"grob"}.}
15
  \item{\dots}{Zero or more element-specifiers, plus a single
13
  \item{\dots}{Zero or more element-specifiers, plus a single
16
    new value or a list of new values.
14
    new value or a list of new values.
17
    The new value is required.  Each specifier
15
    The new value is required.  Each specifier
Line 37... Line 35...
37
}
35
}
38
\author{Paul Murrell}
36
\author{Paul Murrell}
39
\seealso{
37
\seealso{
40
  \code{\link{grid.grob}}
38
  \code{\link{grid.grob}}
41
}
39
}
42
 
-
 
43
\examples{
40
\examples{
44
grid.newpage()
41
grid.newpage()
45
xa <- grid.xaxis(vp=viewport(width=.5, height=.5))
42
xa <- grid.xaxis(vp=viewport(width=.5, height=.5))
46
grid.edit(xa, gp=gpar(col="red"))
43
grid.edit(xa, gp=gpar(col="red"))
47
grid.edit(xa, "ticks", gp=gpar(col="green"))
44
grid.edit(xa, "ticks", gp=gpar(col="green"))
48
}
45
}
49
\keyword{ dplot }%-- one or more ...
46
\keyword{dplot}