Description Usage Arguments Examples
Display one or several (collections of) colors next to each other
1 2 3 4 |
... |
vectors of colors (specified as hex codes) to display. |
height |
height of color bar. |
lspace |
space of left margin. |
rspace |
space of right margin. |
name |
a logic value indicates whether plot the color name. |
name.pos |
name should the viewport be aligned to the top or bottom. |
name.cex |
expansion factor for numeric axis name. |
name.rot |
A numerical value specifying (in degrees) how name should be rotated, from 0 to 180. |
name.space |
space betweed name and color bar. |
bcol |
background color of plot region. |
1 2 | show_color("red")
show_color(col_random(10))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.