View source: R/plot_organization.R
| plot_CYLC | R Documentation |
This function programmatically renders the flag of the Communist Youth League of China using analytic geometry and ggplot2-based vector graphics. The symbol is constructed entirely from geometric primitives (circles, arcs, and polygons), without relying on any external image files.
plot_CYLC(label = TRUE)
label |
Logical value indicating whether to display textual annotations
(title and axis labels). Default is |
The geometric construction strictly follows the national standard GB/T 40055-2021.
The geometric construction follows a stepwise layering strategy. It begins with a red rectangular background, followed by a golden circular ring (composed of outer and inner circles), and finally a golden five-pointed star. The star's ten vertices are precisely calculated through line intersection algorithms. Coordinates and radii are scaled according to the 24:16 aspect ratio specified in the standard.
A ggplot object representing the CYLC flag.
Per the national standard GB/T 40055-2021.
plot_CCP for the CCP emblem/flag plotting interface.
plot_CYLC(label = TRUE)
plot_CYLC(label = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.