Description Usage Arguments Details Value Author(s) See Also Examples
Special colour palette developed to maximise the contrast between
colours. Colours were selected for visualising groups of points on xy or xyz plots
on a white background. Because of this, there are few pastel colours are in this palette.
getcol
contains 2 palettes of 12 and 21 colours.
1 |
nc |
Numeric. Integer or vector in range 1 to 21. This selects colours from palette |
palette |
A character to select either palette "colours1" or
"colours2". |
test |
A logical, if TRUE a plot will be drawn to display the palettes colours1, colours2 and any selected colours. |
Colours1 contains the 12 colours,"red","blue" ,"green","cyan","magenta","yellow", "grey","black","brown", "orange", "violet", "purple"). These were choosen, as these are compatible with rasmol and chime, that are used in html3D. Colours2 contains 21 colours. These were selected so as to maximise the contrast between groups.
For other colour palettes in R, see colors
, palette
, rainbow
, heat.colors
,
terrain.colors
, topo.colors
or cm.colors
.
Also see the library RColorBrewer
A vector containing a list of colours.
Aedin Culhane
See also colors
, palette
, rainbow
, heat.colors
,
terrain.colors
, topo.colors
or cm.colors
, RColorBrewer
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.