Dear Statalist members,
Previous to Stata 18 (SE), histogram legends were positioned at 3, now they are positioned at 6 by default. How do I change that position?
Thank you very much for your help!
Best,
Tobias
Previous to Stata 18 (SE), histogram legends were positioned at 3, now they are positioned at 6 by default. How do I change that position?
sysuse auto, clearIf I want to use the new default scheme, but move the legend to 6, it does not work:
version 18
hist price, by(foreign) kdensity scheme(s2color) // old legend at 6
hist price, by(foreign) kdensity // new legend at 3
It has nothing to do with the legend typically being turned off for histograms. If I explicitly turn it on, I get something that I definitely do not want, i.e., three legends, with the main legend still in the wrong place:
hist price, by(foreign) kdensity legend(position(6)) // does not change anything
hist price, by(foreign) kdensity legend(on position(6)) // is not the solution I needDo you have any idea how I can move the legend from the right to the bottom, i.e., to its pre-Stata 18 default position?
Thank you very much for your help!
Best,
Tobias
Comment