- Laura Whiting

# A Matrix Heat Map in Stata

This heat map is similar to the matrix plot we created in a previous graph. It plots the values, or relative "heat" level, of each XY coordinate in your dataset. This type of heatmap is best used on small datasets, where each XY coordinate has only one value.

To create this graph in Stata, you first need to download the **hmap** command from the SSC, which you can do within Stata using the following command:

To generate this graph in Stata, use the following commands:

55 views0 comments