Description Usage Arguments Value See Also Examples
View source: R/draw_key_hexagon.r
The default legend key drawing function for stat_summaries_hex
.
This function can be used as key_glyph
parameter by any layer.
1 | draw_key_hexagon(data, params, size)
|
data |
A single row data frame containing the scaled aesthetics to display in this key |
params |
A list of additional parameters supplied to the geom. |
size |
Width and height of key in mm. |
A hexagonal polygonGrob
.
The legend key drawing functions built into ggplot:
draw_key
.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.