Thanks guys.
It works perfectly
best wishes
rksh
On Sun, Feb 13, 2011 at 2:00 PM, Dario Strbenac
wrote:
> I usually do :
>
> <>=
> png("xyPlot.png", width = 800, height = 800)
> @
>
> <>=
> ... ... ... # Code goes here.
> @
>
> <>=
> null <- dev.off()
> @
>
> \begin{figure}
> \be
I usually do :
<>=
png("xyPlot.png", width = 800, height = 800)
@
<>=
... ... ... # Code goes here.
@
<>=
null <- dev.off()
@
\begin{figure}
\begin{center}
\includegraphics{xyPlot.png}
\end{center}
\end{figure}
Original message
>Date: Sun, 13 Feb 2011 10:54
On Sat, Feb 12, 2011 at 4:26 PM, Henrik Bengtsson wrote:
> Never ever use JPEG for bitmap data plots. Use PNG instead. See
> attach image (origin unknown; it is *not* an xkcd comics).
Oops - missed to include the following:
To generate PNGs, you can do it manually in the Sweave document, e.g.