Skip to content

davidbody/us-flag-plot

Repository files navigation

Plot US flag with R grid graphics

Example of using R grid graphics to plot US flag.

At our weekly R and Python study group, the idea came up to try to plot the US flag in R using ggplot2. While that may be possible, I chose to do it using grid, which is the graphics library ggplot2 is built on. Here's my solution.

Flag specifications http://www.vexman.net/flagspec.htm

source("us-flag.R")

About

Plot the US flag with R

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages