Hello,

I'm trying to plot a histogram on Stata. This is the code I've used and I've used it many times before:

Code:
twoway (histogram sharepop if year_urban==2,  color(red*0.4)) ///        
       (histogram sharepop if year_urban==4, color(green*0.4)), ///  
        legend(label(1 US) label(2 Taiwan) ) ///
        graphregion(color(white)) title("Share of Income")
However, the legend formatting is off, the tick text is very close to the axis, the title is not centered and the text is smaller than usual. I don't know why this is happening. I'm using Stata on a new Mac and don't know how to fix. I also tried to use transparency % but got the error that it is not defined.

Array