“Michigan” graph scheme for Stata

Background

Stata makes use of different graph schemes that allow for an overall difference in look and feel of graphs.  A different graph scheme from the default is invoked by using the scheme(…) option after the comma e.g.

,scheme(lean2)

or

,scheme(sj)

I would like to let you know about my new provisional University of Michigan Stata graph scheme: michigan.  This graph scheme builds upon the wonderful lean2 graph scheme developed by Svend Juul at the University of Aarhus in Denmark.

An example graph is below:

To install the michigan graph scheme, simply type the following at the Stata command prompt:

net from http://www-personal.umich.edu/~agrogan/stata/programs

This will take you to a list of clickable links, allowing you to install, among other things the michigan graph scheme.  NB that you will also need to install the lean2 graph scheme, and a link is provided to do so as you install the michigan scheme

Below, please find a sample Stata session using the michigan graph scheme.

Sample graph using michigan scheme

use iris.dta
twoway (scatter Petal_Length Petal_Width)
  (lfit Petal_Length Petal_Width), 
  scheme(michigan) title("Petal Length by Petal Width")

 

iris Since you are installing this file from the web, you will automatically be notified of updates to this graph scheme (as well as any other user-written programs) when you type:

adoupdate

If at any time you wish to uninstall this graph scheme simply type:

ado uninstall michigan

Please note that the michigan graph scheme is still something of a draft, so doesn’t always work 100% correctly.  Your mileage may vary.  Please feel free to share this information.  Questions, comments and suggestions are welcome.

 

Advertisements