Could you help me to plot the circles in the form of matrix like O O O O O O O O O O O O thank you.. 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]]
m <- matrix(0, nc=4, nr=3) plot( 0, xlim=c( 1, ncol(m) ), ylim=c( 1, nrow(m) ), type="n", ann=F, axes=F ) points( expand.grid( 1:ncol(m), 1:nrow(m) ), pch=1 ) Run the last example in help(points) for more refinements and options. Regards, Adai On Tue, 2005-11-08 at 13:36 -0800, shanmuha boopathy wrote:> Could you help me > to plot the circles in the form of matrix like > > O O O O > O O O O > O O O O > > thank you.. > > with regards, > boopathy. > > > Thirumalai Shanmuha Boopathy, > Zimmer no : 07-15, > Rtscher strasse 165, > 52072 Aachen . > Germany. > > Home zone : 0049 - 241 - 9813409 > Mobile zone : 0049 - 176 - 23567867 > > > > > > --------------------------------- > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Check out balloonplot in package gplots. On 11/8/05, shanmuha boopathy <tts_boopathy at yahoo.com> wrote:> Could you help me > to plot the circles in the form of matrix like > > O O O O > O O O O > O O O O > > thank you.. > > 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]] > > > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html > >
Would 'symbols()' be of use? -roger shanmuha boopathy wrote:> Could you help me > to plot the circles in the form of matrix like > > O O O O > O O O O > O O O O > > thank you.. > > 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]] > > > > ------------------------------------------------------------------------ > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html-- Roger D. Peng | http://www.biostat.jhsph.edu/~rpeng/
Possibly Parallel Threads
- 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 extract row& col names from a matrix
- R graphics help
- how to get or store the intermediate v?lues while running a function