Text can be added to a legend with a dash followed by text in quotes. The position of this added text can be changed with the Graph Editor. Is it possible to control the position of the added text with a Stata command? I found no option for this in the Stata help file or documentation.
In the example below I would like to move the added text to the left margin of the box, so that it is placed above the two lines in the legend, not the words "Life expectancy".
In the example below I would like to move the added text to the left margin of the box, so that it is placed above the two lines in the legend, not the words "Life expectancy".
Code:
sysuse uslifeexp line le_female year || line le_male year, legend(col(1) order(- "This text should be moved left" 1 2))
Comment