Dear All, Suppose that I have the following data
Code:
* Example generated by -dataex-. To install: ssc install dataex
clear
input long id float(year y)
 1 2006   11.695
 1 2007   16.758
 1 2008   21.342
 1 2009   23.993
 1 2010   26.932
 1 2011   28.151
 1 2012   32.635
 1 2013   34.133
 1 2014   38.974
 1 2015   34.534
 1 2016   37.355
 2 2006   18.837
 2 2007   22.279
 2 2008   27.338
 2 2009   30.184
 2 2010   33.188
 2 2011   32.255
 2 2012   35.877
 2 2013   37.679
 2 2014   45.389
 2 2015   43.858
 2 2016   54.987
 3 2006  102.782
 3 2007   84.356
 3 2008   94.765
 3 2009  539.106
 3 2010 1228.086
 3 2011 1290.933
 3 2012 2019.757
 3 2013 2263.635
 3 2014 3393.346
 3 2015 3437.425
 3 2016 2845.547
 4 2006    4.616
 4 2007    4.786
 4 2008    5.955
 4 2009    7.835
 4 2010    7.253
 4 2011   10.058
 4 2012    11.42
 4 2013   13.421
 4 2014   16.156
 4 2015   17.725
 4 2016   20.976
 5 2006    3.866
 5 2007    4.401
 5 2008    4.724
 5 2009    6.238
 5 2010     6.32
 5 2011    6.717
 5 2012    8.057
 5 2013    8.715
 5 2014    10.17
 5 2015   10.911
 5 2016   12.611
 6 2006    9.166
 6 2007   11.723
 6 2008   18.203
 6 2009   19.796
 6 2010   18.498
 6 2011   14.654
 6 2012    15.82
 6 2013   15.202
 6 2014   20.151
 6 2015   19.021
 6 2016   21.341
 7 2006    8.055
 7 2007   10.428
 7 2008   12.545
 7 2009   13.285
 7 2010   19.067
 7 2011   31.286
 7 2012   34.669
 7 2013    35.08
 7 2014   36.112
 7 2015   32.004
 7 2016   32.868
 8 2006    1.165
 8 2007    1.242
 8 2008    1.802
 8 2009    2.518
 8 2010    1.763
 8 2011    1.604
 8 2012    1.972
 8 2013    2.332
 8 2014    2.649
 8 2015    2.975
 8 2016    3.617
 9 2006  721.351
 9 2007  737.638
 9 2008  674.506
 9 2009  662.644
 9 2010  701.561
 9 2011  902.733
 9 2012 1037.067
 9 2013 1019.113
 9 2014  1195.34
 9 2015 1187.552
 9 2016 1379.233
10 2006   77.254
10 2007  102.233
10 2008  124.216
10 2009   64.794
10 2010   99.241
10 2011  133.793
10 2012  158.205
10 2013   241.44
10 2014  390.768
10 2015  508.226
10 2016  693.224
11 2006   59.295
11 2007   82.017
11 2008   95.538
11 2009  107.414
11 2010   209.93
11 2011  230.368
11 2012  262.935
11 2013  307.755
11 2014   339.11
11 2015   321.27
11 2016   339.71
12 2006    1.574
12 2007    2.089
12 2008    2.502
12 2009    2.875
12 2010    3.528
12 2011    3.928
12 2012    4.923
12 2013    5.177
12 2014    6.048
12 2015    6.223
12 2016    8.335
13 2006    5.164
13 2007    7.853
13 2008    9.425
13 2009   11.877
13 2010   15.165
13 2011   19.709
13 2012   23.011
13 2013   20.953
13 2014   25.282
13 2015   30.153
13 2016   48.198
14 2006   98.383
14 2007  115.322
14 2008  121.286
14 2009  121.988
14 2010  157.046
14 2011  214.113
14 2012  243.034
14 2013  273.245
14 2014  278.919
14 2015   290.18
14 2016   292.24
15 2006    5.456
15 2007    7.543
15 2008    9.091
15 2009    10.93
15 2010   14.164
15 2011   23.195
15 2012   27.525
15 2013   37.062
15 2014   34.344
15 2015    52.64
15 2016  110.116
16 2006   86.239
16 2007   92.724
16 2008   97.854
16 2009  103.557
16 2010  111.093
16 2011  101.673
16 2012  106.843
16 2013  111.016
16 2014  131.714
16 2015   143.14
16 2016  166.044
17 2006     .614
17 2007     .545
17 2008     .629
17 2009     .512
17 2010     .589
17 2011     .689
17 2012      .67
17 2013     .601
17 2014     .698
17 2015     .726
17 2016     .731
end
label values id id
label def id 1 "AUS", modify
label def id 2 "CAN", modify
label def id 3 "CHN", modify
label def id 4 "DEU", modify
label def id 5 "FRA", modify
label def id 6 "GBR", modify
label def id 7 "IDN", modify
label def id 8 "ITA", modify
label def id 9 "JPN", modify
label def id 10 "KOR", modify
label def id 11 "MYS", modify
label def id 12 "NLD", modify
label def id 13 "PHL", modify
label def id 14 "SGP", modify
label def id 15 "THA", modify
label def id 16 "USA", modify
label def id 17 "ZAF", modify
with code
Code:
xtline y, overlay ytitle("y") ylabel(0(1000)4000) legend(position(11) cols(1) ring(0))
and graph like Array


I wonder if anyone can suggest a way to improve the quality of graph as above. Thanks.