[R] Truncated labels with mosaicplot

Dieter Menne dieter.menne at menne-biomed.de
Wed Feb 11 08:18:46 CET 2009

Marcin Kozak <nyggus <at> gmail.com> writes:

> How can I deal with truncated labels in the mosaicplot()? Look at the example:
> mosaicplot(~ gear + carb, data = mtcars, color = TRUE)
> Look at "carb" (the number of carburetors): the label "8" is
> truncated. How this might be dealt with?

As Michael noted, it depends on the aspect ratio. For a more 
flexible layout, you could try package vcd.


More information about the R-help mailing list