The R Project SVN R

Rev

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

Rev 68948 Rev 72561
Line 1... Line 1...
1
% File src/library/grid/man/grid.text.Rd
1
% File src/library/grid/man/grid.text.Rd
2
% Part of the R package, https://www.R-project.org
2
% Part of the R package, https://www.R-project.org
3
% Copyright 1995-2007 R Core Team
3
% Copyright 1995-2007, 2017 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{grid.text}
6
\name{grid.text}
7
\alias{grid.text}
7
\alias{grid.text}
8
\alias{textGrob}
8
\alias{textGrob}
Line 29... Line 29...
29
  \item{just}{The justification of the text
29
  \item{just}{The justification of the text
30
    relative to its (x, y) location.  If there are two values, the first
30
    relative to its (x, y) location.  If there are two values, the first
31
    value specifies horizontal justification and the second value specifies
31
    value specifies horizontal justification and the second value specifies
32
    vertical justification.  Possible string values are: \code{"left"},
32
    vertical justification.  Possible string values are: \code{"left"},
33
    \code{"right"}, \code{"centre"}, \code{"center"}, \code{"bottom"},
33
    \code{"right"}, \code{"centre"}, \code{"center"}, \code{"bottom"},
34
    and \code{"top"}.  For numeric values, 0 means left alignment
34
    and \code{"top"}.  For numeric values, 0 means left (bottom) alignment
35
    and 1 means right alignment.
35
    and 1 means right (top) alignment.
36
  }
36
  }
37
  \item{hjust}{A numeric vector specifying horizontal justification.
37
  \item{hjust}{A numeric vector specifying horizontal justification.
38
    If specified, overrides the \code{just} setting.}
38
    If specified, overrides the \code{just} setting.}
39
  \item{vjust}{A numeric vector specifying vertical justification.
39
  \item{vjust}{A numeric vector specifying vertical justification.
40
    If specified, overrides the \code{just} setting.}
40
    If specified, overrides the \code{just} setting.}
Line 60... Line 60...
60
  If the \code{label} argument is an expression, the output is
60
  If the \code{label} argument is an expression, the output is
61
  formatted as a mathematical annotation, as for base graphics text.
61
  formatted as a mathematical annotation, as for base graphics text.
62
 
62
 
63
}
63
}
64
\value{
64
\value{
65
  A text grob.  \code{grid.text} returns the value invisibly.
65
  A text grob.  \code{grid.text()} returns the value invisibly.
66
}
66
}
67
\author{Paul Murrell}
67
\author{Paul Murrell}
68
\seealso{
68
\seealso{
69
  \link{Grid},
69
  \link{Grid},
70
  \code{\link{viewport}}
70
  \code{\link{viewport}}