As pointed out by others, vcd supports mosaic plots on top of the grid
engine (which is extremely helpful for those of us who love playing around
with grid).  The standard mosaicplot() function is directly available (it
isn't clear if you knew this).  The proper display of names is a real
challenge faced by all of us with these plots, so  you should try each
version.  I'm not sure what you intend to do with a legend, but if you want
the ability to customize and hack code, I suggest you look at grid and a
modification to vcd's version to suit your purposes.

Jay

>
>
>
>
>> Subject: [R] Mosaic Plots
>> Message-ID: <1269256874432-1677468.post@n4.nabble.com>
>> Content-Type: text/plain; charset=us-ascii
>>
>>
>> Hello Everyone
>>
>> I want to plot Moasic Plots, I have tried them using iplots package (using
>> imosaic). The problem is the names dont get alligned properly, is there a
>> way to a align the names and provide legend in Mosaic plots using R?
>>
>> Also I would like to know any other packages using which I can plot Mosaic
>> Plots
>>
>>
>> Thank you in advance
>> Sunita
>> --
>>
>>
> --
> John W. Emerson (Jay)
> Associate Professor of Statistics
> Department of Statistics
> Yale University
> http://www.stat.yale.edu/~jay <http://www.stat.yale.edu/%7Ejay>
>



-- 
John W. Emerson (Jay)
Associate Professor of Statistics
Department of Statistics
Yale University
http://www.stat.yale.edu/~jay

	[[alternative HTML version deleted]]

