On Wed, 30 Mar 2011, Philipp Pagel wrote:

On Wed, Mar 30, 2011 at 08:48:55AM +0000, ONKELINX, Thierry wrote:
Large snip.

Absolutely vector - no jpeg, png, ... although it takes

That depends on the kind of graph. I aggree that you should try
vector at first. But when it generates very larges files (e.g.
scatterplots with thousands of points) then you better switch to
bitmaps like tiff or png. Jpeg can create artefacts, so is not very
good for graphics.

True. Sometimes one can get away with switching from a normal
scatterplot to hexbin or something like this but if that is not
anoption a high resolution tiff or png is the way out.

And of course, I agree that jpeg should never be used for graphs.

That depends on the definition of 'graphs'.

One reason that I added jpeg support to Sweave is that some of us do work in areas where figures (and it is 'figures' you put in papers in my native language) are images, even photographic images.


cu
        Philipp

--
Dr. Philipp Pagel
Lehrstuhl für Genomorientierte Bioinformatik
Technische Universität München
Wissenschaftszentrum Weihenstephan
Maximus-von-Imhof-Forum 3
85354 Freising, Germany
http://webclu.bio.wzw.tum.de/~pagel/

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


--
Brian D. Ripley,                  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to