Description Usage Arguments Value
Stacks legends from different plots into 1 ggplot object.
1 | StackLegends(legends)
|
legends |
List of maps/ggplots with legends. If you give the function an object without a legend in this list, it will error out, noting that one of the maps does not contain a legend. List order is significant: first map's legend will be on the bottom, second map's legend above it, etc. |
A ggplot object with legends vertically stacked.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.