as a followup, I tried using the rainbow function to create the gradients but is there a way to do a "reverse" rainbow, ie. normally if I do:
pie(rep(1,6), col=rainbow(6,start=0, end=.07)) I'll get a gradient from dark red to orangish but what if I want it to go the other way thanks -- View this message in context: http://n4.nabble.com/heatmap-2-color-range-tp1293498p1302571.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.