Hi! I am generating a quite large quantity of nelson-aalen curves and I want to find a way to write my code so that the output does not show for example: variable1= 1-4 in the legend but only "1-4". It is very time consuming to edit this manually for every graph
I have tried so many ways that have been suggested here but neither works properly. Does anyone have a suggestion?
This is the code used for the nelson-aalen curves, which does not include any coding for the way i want the legend to be:
sts graph, by(variable1) cumhaz ci ylabel(0(0.1)0.3) xlabel(0(5)34) title("XXXX")
I have tried so many ways that have been suggested here but neither works properly. Does anyone have a suggestion?
This is the code used for the nelson-aalen curves, which does not include any coding for the way i want the legend to be:
sts graph, by(variable1) cumhaz ci ylabel(0(0.1)0.3) xlabel(0(5)34) title("XXXX")
Comment