Strip Plot in Stata
Updated: Aug 27, 2020
A strip plot will graph a series of marks or letter-codes along a magnitude X-axis. To run a strip plot in Stata you will need to download the command from the SSC repository. You can do this with the following command:
To generate the plot above use the following commands:
Please note - these commands were formatted in a do-file, and as such will need to be run from a do-file in Stata to work. If you want to run this line-by-line, please remove the /// and extend these as one line. So:
first line ///
first line second line
The 3 slashes in a do-file signify that the next line after the slashes are all together in the same line. It is used to make a do-file more readable.
For a comprehensive exploration of the many Stata graph commands and options, check out the book A Visual Guide to Stata Graphics, 3rd Edition.