powered by
Return various types of breaks and labels for ternary color keys.
BreaksAndLabels(type, center = NULL, breaks = NULL)
A list of lists containing breaks and labels for each of the 3 ternary axes.
An integer 1, 2, or 3.
Ternary coordinates of the grey-point.
Number of breaks in the discrete color scale. An integer >1. Values above 99 imply no discretization.
# NOTE: only intended for internal use and not part of the API tricolore:::BreaksAndLabels(1, breaks = 3) tricolore:::BreaksAndLabels(2) tricolore:::BreaksAndLabels(3, center = c(1/3, 1/3, 1/3))
Run the code above in your browser using DataLab