Hello everyone,
I am currently working with in Stata, and I'm encountering an issue when generating two separate graphs. Specifically, the legend numbers on the second graph are not displaying, although they show up correctly on the first graph.trajplot
Here is the code I am using to generate the two graphs:
trajplot, model(1) xtitle(Following year) ytitle(Frailty index) ylabel(0(1)5) ci
graph save "$working_data/traj1", replace
trajplot, model(2) xtitle(Following year) ytitle(CES-D score) ylabel(0(1)5) ci
graph save "$working_data/traj2", replace
In the first graph (), the legend numbers appear correctly. However, in the second graph (), the legend does not display any numbers.traj1traj2
Has anyone encountered this issue before or knows how to resolve it? Any help or suggestions would be greatly appreciated!
Thank you in advance!
I am currently working with in Stata, and I'm encountering an issue when generating two separate graphs. Specifically, the legend numbers on the second graph are not displaying, although they show up correctly on the first graph.trajplot
Here is the code I am using to generate the two graphs:
trajplot, model(1) xtitle(Following year) ytitle(Frailty index) ylabel(0(1)5) ci
graph save "$working_data/traj1", replace
trajplot, model(2) xtitle(Following year) ytitle(CES-D score) ylabel(0(1)5) ci
graph save "$working_data/traj2", replace
In the first graph (), the legend numbers appear correctly. However, in the second graph (), the legend does not display any numbers.traj1traj2
Has anyone encountered this issue before or knows how to resolve it? Any help or suggestions would be greatly appreciated!
Thank you in advance!
Comment