Skip to content
Back to formatted view

Raw Message

Message-ID: <OF84D20440.66BFF9A2-ON41256D10.0053B2BE@notes.edfgdf.fr>
Date: 2003-04-22T15:15:40Z
From: Gregory BENMENZER
Subject: Sweave

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