Skip to content
Prev 83224 / 398506 Next

How to plot curves with more than 8 colors

Vincent Deng wrote:
After typing

  ?colors

I get a nice help page that points me to a lot of other functions that 
generate more than 8 colors. Maybe your installation of R is broken and 
you cannot see this help page? You certainly tried to get help on colors 
as well.

There is no limit of the color number in the functions above, simply 
specify the color you want to get. The only color limit applies for the 
device and for most devices and rgb colors this is 256^3.

Uwe Ligges