powered by
Plot a ternary balance scheme legend.
ColorKey(breaks, h_, c_, l_, contrast, center, spread)
Number of breaks in the discrete color scale. An integer >0. Values above 99 imply no discretization.
Primary hue of the first ternary element in angular degrees [0, 360].
Maximum possible chroma of mixed colors [0, 200].
Lightness of mixed colors [0, 100].
Lightness contrast of the color scale [0, 1).
Ternary coordinates of the grey-point.
Spread of the color scale around center > 0.
# NOT RUN { tricolore:::ColorKey(breaks = 5, h_ = 0, c_ = 140, l_ = 70, contrast = 0.5, center = rep(1/3, 3), spread = 1) # }
Run the code above in your browser using DataLab