/colorscatter

Draw scatterplots in Stata where the color varies with a third variable

Primary LanguageStata

colorscatter

Stata code to draw scatterplots with varying marker colors.

Installation

To obtain the latest version through github, from the main window in Stata, run:

net describe colorscatter, from(https://raw.githubusercontent.com/simonheb/colorscatter/master/)

If the download from within Stata fails (e.g. because you are behind a firewall),you can always download the files directly:

Changelog

  • 1.0.3 Added options (tw_pre and tw_post) to integrate other twoway graph with colorscatter
  • 1.0.2 Emilia Tjernström made me aware of a bug I introduced in Version 1.0.1
  • 1.0.1 Eric Melse suggested and implemented an option to add opacity.

Discussion

on Stata-list, if you need immediate help/feedback, please contact me via github or use the issue tracking system.

Disclaimer of Warranties and Limitation of Liability

Use at own risk. You agree that use of this software is at your own risk. The author is optimistic but does not make any warranty as to the results that may be obtained from use of this software. The author would be very happy to hear about any issues you might find and will be transparent about changes made in response to user inquiries.