[R] howto improve sharpeness of fonts in a jpg-image produced by R ?
Niels Steen Krogh
nielssteenkrogh at hotmail.com
Tue Nov 18 16:04:13 CET 2003
I used an expression like this:
bitmap(file="barplotx.jpg",type="jpeg")
barplot(c(1,2,3),c(3,4,5),main=list("Death Rates in Virginia", font = 1))
dev.off()
My question: How can I improve the sharpeness of the text "Death Rates in
Virginia".
Why jpeg: Its part of a web-environment using R through a SOAP-server. I
also tried png256, jpeggray and others, but the text "Death Rates in
Virginia" does not change sharpeness.
/Niels
Cand. Polit.
Niels Steen Krogh
Solsortvej 44
2000 F.
Tlf: 3888 8613
ZiteLab / EmpoweR youR data with R, Zope and SOAP
>From: Prof Brian Ripley <ripley at stats.ox.ac.uk>
>To: Niels Steen Krogh <nielssteenkrogh at hotmail.com>
>CC: r-help at stat.math.ethz.ch
>Subject: Re: [R] howto improve sharpeness of fonts in a jpg-image produced
>by R ?
>Date: Tue, 18 Nov 2003 14:11:20 +0000 (GMT)
>
>There are two ways to make jpgs in R: which did you use?
>
>If you want a sharp image, why are you using a format designed for
>photographic images?
>
>I suspect your viewer: that example seems as sharp as I would expect
>viewed in a high-quality JPEG viewer on my LCD screen.
>
>On Tue, 18 Nov 2003, Niels Steen Krogh wrote:
>
> > Hi.
> > I've done a standard barplotexample using R1-8.0, redhat8, probably
>using a
> > GhostScript-integration.
> >
> > How can I improve the "sharpness" of the fonts.
> > See for example the barplot (originally jpg coming from R) which is part
>of
> > this screendump:
> >
>http://www.zug.dk/Members/Nielssteenkrogh/1067525916309553166/element_103003161029
> >
> > I'm not sure where to improve the this. Is it an R-issue or an
> > GhostScript-issue or?
>
>--
>Brian D. Ripley, ripley at 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
>
>
_________________________________________________________________
Få alle de nye og sjove ikoner med MSN Messenger http://messenger.msn.dk/
More information about the R-help
mailing list