The Inclusion Economics Stata scheme provides a quick set of options for modern-looking graphs from Stata using Inclusion Economics colors. The scheme is intended for use by the research team of Inclusion Economics when designing visualization for presentations and social media. There are no restrictions on its use.
Two schemes are provided:
Scheme | Description |
---|---|
ie | Three/four-color scheme using core brand palette |
ie2 | Six-color scheme using expanded palette |
Note: Refer to Colors for more on ie and ie2.
Important: Refer to Fonts for setting up fonts.
ssc install inclusion_economics_scheme
Specify the scheme at the start of a do-file:
set scheme ie
or:
set scheme ie2
Alternatively, specify the scheme for an individual graph:
sysuse auto
twoway (scatter price mpg if foreign == 0) ///
(scatter price mpg if foreign == 1), scheme(ie)
Alternatively, specify the default scheme at the command prompt:
set scheme ie, permanently
Note: Once installed, you will need to restart Stata for the scheme to be recognized.
Inclusion Economics colors are navy, orange, blue, and beige. The scheme ie uses these colors for bar, pie, and area graphs. For other graph types, beige is omitted for readability.
When more than three or four colors are required, you may specify the scheme ie2, which has an extended palette of six colors.
-
#8CA1BC
IE blue -
#CE8769
IE orange -
#7CC0AC
IE teal -
#CA7294
IE magenta -
#E7CA55
IE yellow -
#9ECF6E
IE green
If these colors are not suitable, you may manually override them. They should appear as the first eight colors in color menus of the Graph Editor, and they may also be specified directly in do-files. The colors are named ienavy, iebeige, ieblue, ieorange, ieteal, iemagenta, ieyellow, iegreen. (In menus, they appear as "IE navy", etc.)
The Inclusion Economics scheme is intended to be used with Inclusion Economics official fonts, Montserrat and Lora, which must be independently downloaded and installed from Google Fonts. Once they are installed, you can use iefonts to configure them. See iefonts for more detail.
The Inclusion Economics scheme was written by Nils Enevoldsen. Bugs can be reported via the repository at Github. Questions can be directed to nils [at] wlonk [dot] com.
This scheme is a fork of the Yale scheme, written by Aaron Wolf, which can be found at https://github.com/aarondwolf/yalescheme.
This scheme used the user-written scheme cleanplots as a base, with alterations made to reflect the colors of Inclusion Economics and stylistic preferences. cleanplots was created by Trenton Mize, and documentation can be found at https://www.trentonmize.com/software/cleanplots. cleanplots was itself influenced by Daniel Bischof's very excellent plotplain scheme, documentation for which can be found at https://www.stata-journal.com/article.html?article=gr0070.
To make the six-color ie2 palette, IE orange and IE blue were used as a base, and off-brand colors were added, roughly based on the ColorBrewer2 Qualitative 6-Class Set2 palette. ColorBrewer2 is made by Cynthia Brewer and Mark Harrower.