Hi I am trying to construct a graph with 2 y-axis and trying to label the y axis, with one y-axis being QALY and the second Y axis being Cost
I've tried the below
stata returns an error of 2 invalid name....
can you pls help - still waiting for my chatgpt to refresh to give me some insight!
I've tried the below
Code:
twoway (line UKrcost age, lpattern(dash) lcolor(red)) /// (line ukq age, lpattern(dash) lcolor(dkgreen) yaxis(2)) ytitle("QALY")/// (line tkrcost age, lcolor(red)) ytitle("Cost"/// (line tkrq age, lcolor(dkgreen) yaxis(2)), /// legend(pos(6) rows(2)) note("Cost and QALY graphs for UKR and TKR in the male cohort")
can you pls help - still waiting for my chatgpt to refresh to give me some insight!
Comment