This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Construct new_Geom class inheired from Geom class | |
new_Geom <- ggproto("new_Geom", Geom, | |
required_aes = c("x", "y"), | |
defaut_aes = aes(fill="yello"), | |
draw_key_key = draw_key_polygon, | |
draw_group = function(data, panel_scales, coord){ | |
coords <- coord$transform(data, panel_scales) | |
grid::polygonGrob( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##date 日期## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
date 日期 |