Skip to content
Prev 345398 / 398502 Next

Stacked squares plots

On Tue, 4 Nov 2014 01:54:45 AM Osman Al-Radi wrote:
where each
150
(count)
FAILURE (0
to top
each level
one
without a
Hi Osman,
The function color2D.matplot (plotrix) has a Hinton diagram option 
that might do what you want. The squares will be distributed on a plot 
in the same positions as the matrix that is passed as the "x" 
argument. The sizes of the squares will be proportional to "x" and the 
colors can be anything you pass as "cellcolors". Let me know if you 
have trouble working it out.

Jim