Dear Sirs,

I have a panel of 21 countries over 45 years.
I am trying to graph this:

foreach i of num 1/21 {
twoway qfit y x if country == `i', name(y_`i')
}


The problem is that Stata names each graph as y_`i' , where `i' is the number associated to each country.
Instead of y_`i' I need STATA to name the graph y_"country" , where "country" is the name of the country associated to each `i' .

I really appreciate any help on this.
Best,

Lorenzo