View source: R/plot_national_flag.R
| plot_Han18Star | R Documentation |
Draws the Iron-Blood 18-Star Flag (also called the Nine-Pointed Eighteen-Star Flag) used by the Hubei military government after the Wuchang Uprising of the Xinhai Revolution. The flag has a red field, a central black nine-pointed star, and nine inner and nine outer yellow dots representing the eighteen Han provinces of the time. All shapes are generated by vector computation, without external image files.
plot_Han18Star(label = TRUE)
label |
Logical; whether to display the title and explanatory text.
|
The aspect ratio is 5:8; x ranges over [-80, 80], y over [-50, 50].
The nine-pointed star has a circumscribed radius of 44 units and an inner radius of 8 units.
Nine outer yellow dots sit along the star tips; nine inner dots sit midway between the centre and the tips.
ggplot2::coord_fixed(ratio = 1) keeps the proportions fixed.
Axes, grid and legend are hidden by default.
A ggplot object, which can be printed or saved with
ggsave().
Flag design: the Chinese Revolutionary Alliance (Tongmenghui).
https://www.19111010.com.tw/story?id=93
geom_polygon,
geom_circle,
plot_P.R.CHINA_flag,
plot_ROC_Beiyang_flag,
plot_ROC_KMT_flag
plot_Han18Star()
plot_Han18Star(label = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.