Hej,
I would like to plot a line graph by panel ID with two different y-variables, but I cannot display the second (right-handside) ytitle.
Does anybody know how I can display the ytitle of the second y-axis (right-scale) after using the by-Option?
Here is my command:
Thanks a lot in advance,
Steve
I would like to plot a line graph by panel ID with two different y-variables, but I cannot display the second (right-handside) ytitle.
Does anybody know how I can display the ytitle of the second y-axis (right-scale) after using the by-Option?
Here is my command:
Code:
graph twoway line factor1 year, sort lpatt(solid) || line factor2 year, sort lpatt(shortdash) yaxis(2) by(cname, ylabel(#5, nogrid labsize(small)) ylabel(#4, nogrid labsize(small) axis(2)) ytitle("factor1 (right-scale)") ytitle("factor2 (right-scale)", axis(2)) xtitle("year")
Steve
Comment