| Line 67... |
Line 67... |
| 67 |
\bold{Syntax} \tab \bold{Meaning} \cr
|
67 |
\bold{Syntax} \tab \bold{Meaning} \cr
|
| 68 |
|
68 |
|
| 69 |
\code{x + y} \tab x plus y \cr
|
69 |
\code{x + y} \tab x plus y \cr
|
| 70 |
\code{x - y} \tab x minus y \cr
|
70 |
\code{x - y} \tab x minus y \cr
|
| 71 |
\code{x*y} \tab juxtapose x and y \cr
|
71 |
\code{x*y} \tab juxtapose x and y \cr
|
| 72 |
\code{x/y} \tab x forwardslash y \cr
|
72 |
\code{x/y} \tab x \I{forwardslash} y \cr
|
| 73 |
\code{x \%+-\% y} \tab x plus or minus y \cr
|
73 |
\code{x \%+-\% y} \tab x plus or minus y \cr
|
| 74 |
\code{x \%/\% y} \tab x divided by y \cr
|
74 |
\code{x \%/\% y} \tab x divided by y \cr
|
| 75 |
\code{x \%*\% y} \tab x times y \cr
|
75 |
\code{x \%*\% y} \tab x times y \cr
|
| 76 |
\code{x \%.\% y} \tab x \I{cdot} y \cr
|
76 |
\code{x \%.\% y} \tab x \I{cdot} y \cr
|
| 77 |
\code{x[i]} \tab x subscript i \cr
|
77 |
\code{x[i]} \tab x subscript i \cr
|
| Line 191... |
Line 191... |
| 191 |
allowed as synonyms for \code{theta1}, \code{phi1} and \code{sigma1}.
|
191 |
allowed as synonyms for \code{theta1}, \code{phi1} and \code{sigma1}.
|
| 192 |
|
192 |
|
| 193 |
\code{sigma1} is also known as \code{stigma}, its Unicode name.
|
193 |
\code{sigma1} is also known as \code{stigma}, its Unicode name.
|
| 194 |
|
194 |
|
| 195 |
Control characters (e.g., \samp{\\n}) are not interpreted in character
|
195 |
Control characters (e.g., \samp{\\n}) are not interpreted in character
|
| 196 |
strings in plotmath, unlike normal plotting.
|
196 |
strings in \I{plotmath}, unlike normal plotting.
|
| 197 |
|
197 |
|
| 198 |
The fonts used are taken from the current font family, and so can be
|
198 |
The fonts used are taken from the current font family, and so can be
|
| 199 |
set by \code{\link{par}(family=)} in base graphics, and
|
199 |
set by \code{\link{par}(family=)} in base graphics, and
|
| 200 |
\code{\link{gpar}(fontfamily=)} in package \pkg{grid}.
|
200 |
\code{\link{gpar}(fontfamily=)} in package \pkg{grid}.
|
| 201 |
|
201 |
|
| Line 206... |
Line 206... |
| 206 |
}
|
206 |
}
|
| 207 |
\section{Other symbols}{
|
207 |
\section{Other symbols}{
|
| 208 |
On many OSes and some graphics devices many other symbols are
|
208 |
On many OSes and some graphics devices many other symbols are
|
| 209 |
available as part of the standard text font, and all of the symbols in
|
209 |
available as part of the standard text font, and all of the symbols in
|
| 210 |
the Adobe Symbol encoding are in principle available \emph{via}
|
210 |
the Adobe Symbol encoding are in principle available \emph{via}
|
| 211 |
changing the font face or (see \sQuote{Details}) plotmath: see the
|
211 |
changing the font face or (see \sQuote{Details}) \I{plotmath}: see the
|
| 212 |
examples section of \code{\link{points}} for a function to display
|
212 |
examples section of \code{\link{points}} for a function to display
|
| 213 |
them. (\sQuote{In principle} because some of the glyphs are missing
|
213 |
them. (\sQuote{In principle} because some of the glyphs are missing
|
| 214 |
from some implementations of the symbol font.) Unfortunately,
|
214 |
from some implementations of the symbol font.) Unfortunately,
|
| 215 |
\code{\link{pdf}} and \code{\link{postscript}} have support for little
|
215 |
\code{\link{pdf}} and \code{\link{postscript}} have support for little
|
| 216 |
more than European (not Greek) and CJK characters and the Adobe Symbol
|
216 |
more than European (not Greek) and CJK characters and the Adobe Symbol
|