[R] Unreadable labels

Sean O'Riordain seanpor at acm.org
Sun May 21 19:29:31 CEST 2006


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 at 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 at wit.edu.pl>
> http://automatthias.wordpress.com
>
>
> ______________________________________________
> R-help at 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
>
>
>



More information about the R-help mailing list