On Tue, 11 Mar 2008, [EMAIL PROTECTED] wrote:

Hi Brian,

Thank you for your fast answer. It looks a little bit better now. Nevertheless I see pixels. May it depend on the font used?

These _are_ bitmap formats: of course you will see pixels if you look closely enough!

But beware that many of the artefacts people see are from their viewer and not from the file R produces.

In the praeambel I use
        windowsFonts(Frutiger = windowsFont("Frutiger 45 Light"))
        par(family="Frutiger")

And later, to create a wide table on the right of the plot
        text(par("usr")[2] + 3.95, ... ,family="Frutiger")

Regards,
Thomas

-----Ursprüngliche Nachricht-----
Von: Prof Brian Ripley [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 11. März 2008 09:28
An: Schwander, Thomas, KS.R
Cc: r-help@r-project.org
Betreff: Re: [R] Jpeg and pixel

On Tue, 11 Mar 2008, [EMAIL PROTECTED] wrote:

Hi guys,

I've got tthe following question:

Why do my fonts look a bit grubby when I use the jpeg() function? I
see the pixels of the font. The quality is set to 100%.
If this is normal with jpeg(), which function would you propose me to
use instead?

png(), as the help page suggested. The 'P' in JPEG stands for 'Photographic', and the format is not intended for text and line diagrams.


Kind regards,
Thomas
________________________________
I'm using R 2.6.2 on Windows XP, SP2



        [[alternative HTML version deleted]]

______________________________________________
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,                  [EMAIL PROTECTED]
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


--
Brian D. Ripley,                  [EMAIL PROTECTED]
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