From ligges@statistik.uni-dortmund.de  Fri Sep 13 16:06:22 2002
From: ligges@statistik.uni-dortmund.de (Uwe Ligges)
Date: Fri, 13 Sep 2002 17:06:22 +0200
Subject: [R] proposal: mosaicplot with sub and las
References: <20020913105944.A2318@s1x.zimnet.ch>
Message-ID: <3D81FEEE.CA389771@statistik.uni-dortmund.de>

Wolfram Fischer - Z/I/M wrote:
> 
> Two proposals for mosaicplot():
> 
> - The argument "sub" should not be ignored.
>   Example: mosaicplot( HairEyeColor, sub = 'test of sub' )

You have just to change three lines in mosaicplot.default(). 
Since you provided a very nice suggestion to improve dotchart()
(THANKS!), please, would you provide a suggestion for this one too?


> - To be able to discern also longer axis labels
>   the argument "las" or par(las=2) should not be ignored.
>   Example: mosaicplot( HairEyeColor, las=2 )

That will be a bit more difficult than just using las, because
annotation is done by text(), not mtext() nor axis(). One have to
calculate with the las values in the srt argument of the text() calls.
I am sure you will provide a suggestion for the improvement soon. [If
you don't get it to work, just send a private e-mail.]


Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[R] proposal: mosaicplot with sub and las
Uwe Ligges