建议用箭头指向散点,
举例如下,例子中为Honduras添加箭头指向散点。
- sysuse lifeexp, clear
- gen country1=country
- replace country1="" if country=="Honduras"
- scatter lexp gnppc if region==2,mlabel(country) mlabpos(3)
- gen pos = 3
- replace pos = 6 if country=="United States"
- twoway (scatter lexp gnppc if region==2,mlabel(country1) mlabvp(pos)) ///
- (pcarrowi 71 -200 69.4 600), ///
- text(71.5 -300 "Honduras",size(*0.8)) ///
- xscale(range(-2000 33000)) ///
- legend(off) ///
- scheme(s1mono)
复制代码