> > Is there any other way I can do this. > > > > say row names are city schools > > colnames are student names > > > Hi Adrian, > Have you looked at color2d.matplot in the plotrix package? > > Jim
You might also want to check out the seriation package, which provides tools to reorder your matrix to better reveal any patterns in the data. Hadley -- http://had.co.nz/ ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.