mvtsplot icon indicating copy to clipboard operation
mvtsplot copied to clipboard

added ability to accept any color palette, rather than just the ones nam...

Open bjurban opened this issue 10 years ago • 0 comments

...ed by RColorBrewer

this makes it possible to make your own palettes, or reverse the order of RColorBrewer palettes. (e.g., if using "RdBu" for plotting temperature, "cold" values showed up red, which was counterintuitive)

Examples:

mvtsplot(matrix(runif(99), ncol=9), palette = rev(brewer.pal(4, "RdBu"))) mvtsplot(matrix(runif(99), ncol=9), palette = "RdBu") mvtsplot(matrix(runif(99), ncol=9), palette = c("#000000","EFFFFFF"))

bjurban avatar Feb 19 '15 20:02 bjurban