Daniel-Pailanir / sdid

Synthetic Difference in Differences for Stata
GNU General Public License v3.0
72 stars 36 forks source link

Labeling Markers in g1 #53

Open HotboyLily opened 1 year ago

HotboyLily commented 1 year ago

Hi, is it possible to label the markers in g1?

I mean g1 is close enough to a scatter plot and it would be great if the markers can be labeled in the center of the graph so we wouldn't need to look at the x axis. This helps a lot if there are a lot of controled units.

I've tried the option _g1opt(mlabel(id)) but it says variable id not found. It is definitely in the dataset and I don't know how to get it work.

Best, Lily