Dear List, I have used the image() function to show a heat plot of a matrix of data whose intensity is color-coded. I have two questions that I have not been able to solve by using the help system or google.
1) How can one add a scale/legend that shows what numerical values a given color corresponds to? 2) How can one "flip" the rows (i.e., change the order of the rows in the image plot)? Thanks very much in advance, Peter -- Dr. med. Peter N. Robinson, MSc. Institut für Medizinische Genetik Universitätsklinikum Charite Humboldt-Universität Augustenburger Platz 1 13353 Berlin Germany voice: 49-30-450569124 fax: 49-30-450569915 email: [EMAIL PROTECTED] http://www.charite.de/ch/medgen/robinson ______________________________________________ R-help@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 and provide commented, minimal, self-contained, reproducible code.