Hi~I'm new to R. I'm following these two tutorials to make a tree map, but the color scale isn't quite what I wanted.
For map of the market, the color scale starts from 0(red) to max(green), what I wanted is 0(Green)-1(Red)-max(green). What's the easiest way to achieve this kind of divergent color scale? How shall I make my own palette and use it in the map.market or tree map function? Thank you very much~ -- View this message in context: http://r.789695.n4.nabble.com/How-to-custom-colorscale-in-treemap-tp4594161p4594161.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.