본문 바로가기

MySTATA/그래프 다루기

그래프 그리기 09: legend(범례) 다루기

/* 여러 항목들을 몇몇 범주로 구분하여 배열하기  */  

   legend(order(

- "[Headcount Ratio]"

 1 "only NPS" 2 "NPS+BP-indexed CPI" 3 "NPS+BP-indexed A-value" 

- "[Poverty Gap Ratio]"

 4 "only NPS" 5 "NPS+BP-indexed CPI" 6 "NPS+BP-indexed A-value")  size(medium) rows(4) 

colfirst  )
// 빨간색 글자를 주의깊게 보시면 알 듯....