[ top | up ]
A PicTeX Graphics Driver
Syntax
pictex(file="Rplots.tex", width=5, height=4, debug=FALSE,
bg="white", fg="black")
Arguments
file
|
the file where output will appear.
|
width
|
The width of the plot in inches.
|
height
|
the height of the plot in inches.
|
debug
|
should debugging information be printed.
|
bg
|
the background color for the plot.
|
fg
|
the foreground color for the plot.
|
Description
This function produces graphics suitable for inclusion in
TeX and LaTeX documents.
References
Knuth, D. E. (1984).
The TeXbook. Reading Mass.: Addison-Wesley.
Lamport, L. (1994).
LATEX: A Document Preparation System.
Reading Mass.: Addison-Wesley.
Goossens, M., F. Mittelbach and A. Samarin (1994).
The LATEX Companion.
Reading Mass.: Addison-Wesley.
Note
This driver was provided by Valerio Aimalea of the
Department of Internal Medicine,
University of Genoa, Italy.
(valerio@svpop.com.dist.unige.it).
See Also
x11
, postscript
.
Examples
% LaTeX Example
\documentclass{article}
\usepackage{pictex}
\begin{document}
%...
\begin{figure}[h]
\centerline{\input Rplots.tex}%
\caption{}
\end{figure}
%...
\end{document}
% TeX Example
\input pictex
$$ \input Rplots.tex $$