Dear All, I was asked this question (https://bbs.pinggu.org/thread-10348633-1-1.html). The data set and code (to be modified) is:
Code:
* Example generated by -dataex-. To install: ssc install dataex
clear
input double(stock mon d)
28 40 1
23 35 2
18 30 3
25 36 4
30 45 5
end

twoway connected stock d ||connected mon d,lp(dash) xscale(range(0.5 5.5))   ///
xlabel( 1 "25岁以下"  2 "25-34"  3 "35-45"  4 "45-50"  5 "50岁以上" ) xtitle("") scheme(s1mono)
The graph is Array
But the desired one is (with relocation of the label on the x-axis):
Array

Please note particularly that the location of the x-axi, say 25-34. Thanks.