Hi Dear,

Please, I would like to apply this condition for two line graphs as :

Code:
twoway    line var1 year if inrange(iden, 1, 5), by(country, note("Source: Author's Calculation")) sort yaxis(1) ///
|| line var1 year if inrange(iden, 1, 5), by(country) sort yaxis(2)
Unfortunately, this displays the range of other countries as well
Array


Indeed, I would like to display the graphs for the first 5 countries. did I misuse the "inrange" command?

Please, can you help me?

Thanks,

Best