Re: [R] Font quality in base graphics

From: Mark Difford <mark_difford_at_yahoo.co.uk>
Date: Tue, 15 Jul 2008 12:59:26 -0700 (PDT)

Hi wf

>> I just cannot believe that R does not have a good command of this.

Curious. I find R's graphical output matchless. Almost without exception I use postscript and find the controls available under base graphics (?par) or "lattice" adequate (to understate). Very occassionally I fiddle with the postscript pointsize setting, but not often.

If you are struggling to get relative sizes as you want them then plot to a window (device) of the same size as the "on-paper" graphic you want. Under Windows, for example, open a windows device with:

windows(width = 6.5, height = 6.5 * .75, pointsize = 12)

Then plot to it to check the scaling. If fine, then do:

postscript(paper="special", width=6.5, height=6.5*.75, pointsize=12, onefile=F, horizontal=F)

Then plot, and dev.off(). ???

HTH, Mark.

willemf wrote:
>
> Thank you Jeff, I will follow up on this. I just cannot believe that R
> does not have a good command of this. The obvious route is Postscript
> ourput, since it is not raster-based and one can incorporate EPS files
> into OpenOffice documents. However, when printing to a Postscript device,
> there is no control over the size of the text with respect to the graphics
> (at least I have not managed to obtain that level of control, even when
> restricting graphic size by specifying fin = c(3,3). The fundamental
> challenge for R is to generate identical copies of
> onscreen/pdf/PNG/postscript output. As far as I deduce this is not
> possible at present. Thanks for your comments. Regards, wf
>

-- 
View this message in context: http://www.nabble.com/Font-quality-in-base-graphics-tp18465608p18473692.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help_at_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.
Received on Tue 15 Jul 2008 - 20:05:53 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 16 Jul 2008 - 11:31:58 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive