I have been trying to add a general title and a second y variable title at right to a panel two-way line, but I am failing. I am using the following code
and get the following messed up graph

When I omit the title option in the above code
I get the graph below.

I would like to add a general title to the graph on the top as "Inflation, consumer prices annual and Unemployment % of total labor force" and a second y variable to appear to the right as "Unemployment % of total labor force", similarly to what appears the "Inflation consumer prices annual %" at left
Where am I mistaking the code?
Mario
Code:
set scheme s1color twoway (line cpi ts if ts>0, yaxis(1)) (line u ts if ts>0, yaxis(2) lpattern(dash)) , title("Inflation consumer prices annual" "and Unemployment % of total labor force") ytitle(Inflation consumer prices annual% ) ytitle((Unemployment % of total labor force), axis(2)) ttitle(year) legend(label(1 "consumer prices annual %")) legend(label(2 "Unemployment % of total labor force")) graphregion(color(white)) bgcolor(white) title("Inflation consumer prices annual" "and Unemployment % of total labor force") by (id) ||
and get the following messed up graph
When I omit the title option in the above code
Code:
set scheme s1color twoway (line cpi ts if ts>0, yaxis(1)) (line u ts if ts>0, yaxis(2) lpattern(dash)) , ytitle(Inflation consumer prices annual% ) ytitle((Unemployment % of total labor force), axis(2)) ttitle(year) legend(label(1 "consumer prices annual %")) legend(label(2 "Unemployment % of total labor force")) graphregion(color(white)) bgcolor(white) title("Inflation consumer prices annual" "and Unemployment % of total labor force") by (id)
I would like to add a general title to the graph on the top as "Inflation, consumer prices annual and Unemployment % of total labor force" and a second y variable to appear to the right as "Unemployment % of total labor force", similarly to what appears the "Inflation consumer prices annual %" at left
Where am I mistaking the code?
Mario
Comment