Returns the color structure needed by kpPlotHorizon
(array of colors) An array of colors
(positive integer) The number of colors to generate for pos and neg
This function transforms an array of colors into a list of colors **internally** needed by kpPlotHorizon: a list with two elements, "neg" and "pos", each an array of colors of length num.parts. If col is a character of length one, it is interpreted as the name of a color scheme.
A list with 2 elements, pos and neg, each with num.parts colors
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.