ct.drawColorLegend | R Documentation |
This is a function called internally by ct.viewGuides to generate the color legend. End users should not use it.
ct.drawColorLegend(dens, colorscale)
dens |
A density object. |
colorscale |
A vector of colors to draw behind the density. |
A color legend on the current graphics device.
Russell Bainer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.