S-plus graphs to LaTeX picture commands

Herbert R. Radisch (hradisch@quark.ivt.com)
Fri, 23 Jan 98 21:26:49 PST


Erin Haodgess writes:
>
> Kjetil Halvorsen.
> Here is a somewhat old, but useful suggestion:
> You need a sty file called psfig.sty. I will
> send that directly to Kjetil. If anyone else wants
> that file, please let me know!
>
> Now you can create a sample.
>
> Here is a sample Latex File:
>
> \documentstyle[12pt,psfig]{article}
> \oddsidemargin -0.07in
> \evensidemargin -0.04in
> \topmargin -0.13in
> \textheight = 8.4in
> \textwidth = 6.5in
> \pagestyle{empty}
> \begin{document}
>
> \baselineskip = 22pt
>
> \centerline{The test of postscript}
> \centerline{\psfig{figure=corn1.ps,width=4in,height=3in}}
>
> \end{document}
>
> To create the corn1.ps file in S-Plus:
> > postscript("corn1.ps")
> > plot(corn.rain,corn.yield,type="l")
> > q()
>
> Then try it out!
>
> Good Luck!
>

This looks like a pre- 2e release of LaTeX!