## Creating EPS files in S-Plus, Using them in Latex (say with prosper.sty) ## In S-Plus you need to set the driver, create the plot, close the driver, and copy your EPS file ## to where you need it. postscript("fig1.eps") plot(lynx) dev.off() dos("copy fig1.eps E:SOut") ## Now, to use these in a slide (with prosper.sty) one can use.... ### \begin{slide}[R]{} \begin{figure}[tc] \label{temp} \psfig{file=fig1.eps, width=3.5in, height=2.5in} %\caption{Lynx by Date} \end{figure} \end{slide} ### ### Notes: ### 1. The caption is commented out; it was too big. ### 2. The sizes are artificial; these work OK but they are not perfect. ### 3. The latex code assumes that you have moved your EPS file to the same file as your doc.tex ### 4. One makes the "natural" modifications to put these into a document with other styles.