Hi Stata users,
I am writing to ask a question on how to draw two weighted scatter plots with circles where the size of the circles are comparable.
My current code looks like the following:
However, the graphs are not comparable because the weighting option reweights the percent variable for each sample, so the circle sizes are not comparable.
I wonder if there is a convenient way to make the scale of circle sizes comparable between the two graphs.
Thanks a lot, and I look forward to hearing from you!
Best,
Long
I am writing to ask a question on how to draw two weighted scatter plots with circles where the size of the circles are comparable.
My current code looks like the following:
Code:
scatter v1 v2 [w=pct] if sample == 1, msymbol(circle_hollow) scatter v1 v2 [w=pct] if sample == 2, msymbol(circle_hollow)
I wonder if there is a convenient way to make the scale of circle sizes comparable between the two graphs.
Thanks a lot, and I look forward to hearing from you!
Best,
Long
Comment