addColorStrips {vfinputs} | R Documentation |
Add list of colored strips
Description
Add list of colored strips
Usage
addColorStrips(n_strips, color_map, orient, pos_function, size, thickness = 20)
Arguments
n_strips |
Number of strips to be added |
color_map |
A list of colors corresponding to the number of strips |
orient |
Orientation of the legend. Can be |
pos_function |
A function to convert from index number to pixels |
size |
The length of the list in pixels |
thickness |
The height or width of the list in pixels |
Value
A list of SVG rect
shapes.
See Also
[Package vfinputs version 0.1.0 Index]