Skip to content
Prev 176989 / 398506 Next

using Sweave, how to save a plot in a given size

Hi I do somthing like:

\SweaveOpts{prefix.string=proj1}

<<label=fig1,fig=T,include=F,width=8, height=12>>=
plot(1:10)
@

\begin{figure}
\includegraphics {proj1-fig1}           %% show
\label{..}
\end{figure}


Wolfgang


Lore M a ?crit :