Skip to content

Sweave

1 message · Gregory BENMENZER

#
hello,

I use Sweave and I'd want to plot severall graphics with a loop.

For example,

\begin{figure}
<<fig=TRUE>>
for (i in 1:10) plot(rnorm(100)+i)
@
\end{figure}

When I do that, all graphics are plotted on the same figure and I'd want
Sweave plotted 10 differents figures !

Could you help me  ?

Best regard,

Gr?gory Benmenzer