Skip to content

mdroste/stata-scheme-modern

Repository files navigation

stata-scheme-modern

Overview | Installation | Screenshots | Acknowledgements

Better Stata graphical schemes

version 1.0 1jul2019

Overview

This package provides graphical themes (schemes) for Stata that are intended to imitate defaults from popular plotting libraries in other languages (e.g. matplotlib). You can check out some pictures of what these schemes look like in the Screenshots section below. As always, scheme settings (e.g. legend placement, color options) can always be overridden.

Installation

Installation is straightforward:

  1. Install this package directly from this GitHub repo by typing the following command in a Stata prompt:
net install scheme-modern, from("https://raw.githubusercontent.com/mdroste/stata-scheme-modern/master/")
  1. To use the light-colored theme, simply type:
set scheme modern, perm
  1. To use the dark-colored theme instead, simply type:
set scheme modern_dark, perm

Screenshots

Click for histogram example

scheme-s2color screenshot 1

scheme-modern screenshot 1

scheme-modern_dark screenshot 1

Click for scatterplot example

scheme-s2color screenshot 2

scheme-modern screenshot 2

scheme-modern_dark screenshot 2

Click for bar chart example

scheme-s2color screenshot 3

scheme-modern screenshot 3

scheme-modern_dark screenshot 3

Click for binned scatterplot example

scheme-s2color screenshot 4

scheme-modern screenshot 4

scheme-modern_dark screenshot 4

Click for line plot example

scheme-s2color screenshot 5

scheme-modern screenshot 5

scheme-modern_dark screenshot 5

Acknowledgements

These schemes were built by combining elements from two existing schemes: (1) the leap-slides used by the Opportunity Insights research group from 2015 to present; (2) the cleanplots scheme produced by Trenton D. Mize.

Interested users might also like to check out other work; for instance, the grstyle command by Ben Jann, or brewscheme by William Buchanan.

About

Better default plots in Stata

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published