[R] 2.7.0 graphics changes and png devices
Prof Brian Ripley
ripley at stats.ox.ac.uk
Tue May 20 07:55:04 CEST 2008
The titles are in bold. Because the text is small, the weight is lower
than in full-sized plots.
The difference from 2.6.2 is that the text is correctly sized for the
default 72dpi plots. Try something like
png(width=7, height=7, units="in", res=96)
for comparability with windows().
On Mon, 19 May 2008, Oliver Soong wrote:
> Hi,
>
> I have a question about the graphics changes in 2.7.0. The example is
> this bit of code:
>
> par(mfcol = c(2, 3))
> for(i in 1:6) plot(1:10, 1:10, xlab = "xlab", ylab = "ylab", main = "main")
>
> In 2.7.0, if I do this interactively (using windows()), I get bold
> titles. If I do this through a png device, I get regular weight
> titles. If I do this in 2.6.2, both situations give bold titles.
>
> I assume the 2.7.0 png device is off here, but I'm not sure how to fix
> this. Suggestions?
>
> Oliver
>
> ______________________________________________
> 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.
>
--
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
More information about the R-help
mailing list