PATH-Global-Health / PATHtools

R package for cross-portfolio code and resources
https://path-global-health.github.io/PATHtools/
GNU General Public License v3.0
3 stars 2 forks source link

Create PATH palette objects #1

Closed justinmillar closed 2 years ago

justinmillar commented 2 years ago

Use for plots, may also want to create ggplot-specific function (e.g., scale_fill_path())

justinmillar commented 2 years ago

Some helpful links: https://www.jumpingrivers.com/blog/custom-colour-palettes-for-ggplot2/ https://drsimonj.svbtle.com/creating-corporate-colour-palettes-for-ggplot2

justinmillar commented 2 years ago

Reference: image

justinmillar commented 2 years ago

Addressed in #7

justinmillar commented 2 years ago

Dropping this here in case we decide to update. https://www.garrickadenbuie.com/blog/custom-discrete-color-scales-for-ggplot2/