Consider the following example:
Code:
clear all sysuse auto graph twoway line length weight price, legend(pos(5))
I've found the position can be fine-tuned with the Y-offset in the graph editor:
Array
But I don't see a corresponding parameter in the command syntax.
I've also experimented with the bmargin() option, it does allow me to programmatically increase the gap between the plotregion and the legend, but at the expense of wasting more space under the graph (including under the legend) which is undesirable.
If anything I am looking for a solution that would be neutral to the units/magnitudes of the y-axis of the main plot.
Thank you, Sergiy Radyakin
0 Response to Fine-tuning the legend position
Post a Comment