• Laura Whiting

A Matrix Plot in Stata

A matrix graph plots the values of a matrix as squares of different colours, with higher values represented as darker colours.


To create a matrix plot in Stata you first need to download the plotmatrix command from the SSC, which you do with the following command in Stata:

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


10 views0 comments

© 2020 by Survey Design and Analysis Services. 

  • LinkedIn
  • Facebook
  • Twitter
  • YouTube