Description Usage Arguments Value
Takes the grobs and outputs the legend inside the current viewport.
1 2 | prFpDrawLegend(lGrobs, legend.pos, col, colgap, legend.gp, legend.r,
legend.padding, legendMarkerFn, ...)
|
lGrobs |
A list with all the grobs, see |
legend.pos |
Specifies if the legend is horizontal or not. Can either be a list or a string. |
col |
The colors of the legends. |
colgap |
The gap between the box and the text |
legend.gp |
The |
legend.r |
The box can have rounded edges, check out |
legend.padding |
The padding for the legend box, only used if box is drawn. This is the distance from the border to the text/boxes of the legend. |
legendMarkerFn |
The function for drawing the marker |
... |
Passed to the legend |
void
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.