Code:
graph bar (percent) if account_formal==1, /// over(female) over(account_formal) over(year) /// title("Owning a Bank Account by Gender") /// subtitle("Years 2011, 2014, and 2017") /// ytitle("Percent of Individuals Owning a Bank Account") /// blabel(bar,position(outside) size(vsmall)) ylabel(, labsize(vsmall)) /// legend(rows(1) ring(6) position(6) label(1 "Men") label(2 "Women")) /// note("Source: World Bank FINDEX Database")
Array
I am not able to remove the number of “1” on the x axis, where I only want to keep the years (2011, 2014, and 2017). 1 here stands for “owning a bank account” (dummy variable with 0 being does not own a bank account).
Moreover, I would like to reduce the numbers labelled on the graph bar with only two decimals after comma and add a percentage sign – is this possible?
I would highly appreciate your help!
Best,
Julie
0 Response to Graph bar axis and labels issues
Post a Comment