Re: [R] Unreadable labels

From: Sean O'Riordain <seanpor_at_acm.org>
Date: Mon 22 May 2006 - 03:29:31 EST

Hi Maciej,

fyi - on winxp-pro 2.3.0-patched and up to date MASS - I can clearly read the labels, except the start of the word 'black' is clipped, but the font size is fine.

cheers,
Sean

On 21/05/06, Maciej Bliziński <m.blizinski@wit.edu.pl> wrote:
> Playing around with examples from MASS4, I found a font problem in the
> mosaicplot in R-2.3.0. It doesn't happen in other plots. Running this
> example from MASS4, page 326...
>
> library(MASS)
> caith1 <- as.matrix(caith)
> names(dimnames(caith1)) <- c("eyes", "hair")
> mosaicplot(caith1, color = TRUE)
>
> ...I get an image as attached. The column and row labels are unreadable.
> It is true for both x11() and png() devices.
>
> I can adjust the font sizes with the "cex.axis" argument and get a
> readable labels if the parameter is correct (0.8 works here), but the
> general problem it's not really the font sizes. There are small versions
> of the screen fonts that _are_ readable. I believe I should be able to
> get small, but readable labels. It's not possible to specify a font,
> because mosaicplot doesn't accept the "font.axis" parameter.
>
> Looking at the demo(graphics), I can also recognize some unreadable
> labels. Do you think it's only the matter of the X-Window system?
> Installed fonts? Any hints appreciated.
>
> Regards,
> Maciej
>
> --
> Maciej Bliziński <m.blizinski@wit.edu.pl>
> http://automatthias.wordpress.com
>
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
>
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon May 22 03:44:01 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Mon 22 May 2006 - 08:10:17 EST.

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