Halo friends,
I have a problem to solve in R graphics..
I have a matrix like
A= 2 3 4
5 6 7
8 9 4
and I like to generate the same matrix in terms of shaded circles in which the
density of shading depends on the value...
for eg in the above matrix A the value 2 is a circle shaded very lightly
9 is of full dark
circle(almost black)
so when the value increses then the darkness also increases..
Please help me in giving your suggestions..
with regards,
boopathy.
Thirumalai Shanmuha Boopathy,
Zimmer no : 07-15,
R侟tscher strasse 165,
52072 Aachen .
Germany.
Home zone : 0049 - 241 - 9813409
Mobile zone : 0049 - 176 - 23567867
---------------------------------
[[alternative HTML version deleted]]
Probably you can get some ideas from the balloonplot function in package gplots. Best, Matthias> > Halo friends, > > I have a problem to solve in R graphics.. > I have a matrix like > > A= 2 3 4 > 5 6 7 > 8 9 4 > > and I like to generate the same matrix in terms of shaded > circles in which the density of shading depends on the value... > > for eg in the above matrix A the value 2 is a circle shaded > very lightly > 9 is > of full dark circle(almost black) > > so when the value increses then the darkness also increases.. > > Please help me in giving your suggestions.. > > with regards, > boopathy. > > > Thirumalai Shanmuha Boopathy, > Zimmer no : 07-15, > R??tscher strasse 165, > 52072 Aachen . > Germany. > > Home zone : 0049 - 241 - 9813409 > Mobile zone : 0049 - 176 - 23567867 > > > > > > --------------------------------- > > [[alternative HTML version deleted]] >
Apparently Analagous Threads
- how to plot the circles in matrix form
- how to extract row& col names from a matrix
- how to extract the column name or value from the numerical value of the matrix
- how to extract the column name or value from the numerical value of the matrix
- how to get or store the intermediate v?lues while running a function