Hello I've got this graph produced with this code
How can I annoate all the 4 xlines with a legend + is is possible to give them separate colors?
When I manually use the graph editor and change the colour/ choose solid or dashed for one line, the changes are applied to all the lines..
The first two x lines - would be blue (one bold and one dashed) - labelled as 95th centile as per Carr, 95th centile in local population
The second two x lines - would be red (one bold and one dashed) - labelled as 5th centile as per Carr, 5th centile in local population
I tried to manually annote the lines but I think this involves too much head twisting and makes more sense to add a legend with dashed/solid lines
Code:
qnorm neonates, jitter(6) xline(1.2 1.12 0.59 0.74, lwidth(1) lstyle(grid) lcolor(gs12))
When I manually use the graph editor and change the colour/ choose solid or dashed for one line, the changes are applied to all the lines..
The first two x lines - would be blue (one bold and one dashed) - labelled as 95th centile as per Carr, 95th centile in local population
The second two x lines - would be red (one bold and one dashed) - labelled as 5th centile as per Carr, 5th centile in local population
I tried to manually annote the lines but I think this involves too much head twisting and makes more sense to add a legend with dashed/solid lines
Comment