Play Around With The Colorramppalette Function. Try The Following Simple Plot
This document discusses using the colorRampPalette() function in R to create color palettes for plotting. It provides an example of using colorRampPalette() with 100 colors from red to yellow to blue to color points in a simple plot based on random normal data. It then asks what would happen if only 10 colors were used instead of 100.
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
37 views
Play Around With The Colorramppalette Function. Try The Following Simple Plot
This document discusses using the colorRampPalette() function in R to create color palettes for plotting. It provides an example of using colorRampPalette() with 100 colors from red to yellow to blue to color points in a simple plot based on random normal data. It then asks what would happen if only 10 colors were used instead of 100.