In this code I am trying to use labels of variable Sector_ID as titles of individual plots, kindly guide: ************************************************** **
local graphnames
levelsof Sector_ID, local(categories)
foreach c of local categories {
tsline EE if Sector_ID == `c', name(graph`c', replace) ///
title("`c'") ///
ytitle("") xtitle("") ///
local graphnames "`graphnames' graph`c'"
}
local graphnames
levelsof Sector_ID, local(categories)
foreach c of local categories {
tsline EE if Sector_ID == `c', name(graph`c', replace) ///
title("`c'") ///
ytitle("") xtitle("") ///
local graphnames "`graphnames' graph`c'"
}
Comment