Dear Statalists,
Could you help me how i can show variable names of the bars only on the first y-axis of the categorical vars. As you can see from the figure below in my case it is hows on the y-axis of every category. How can I also position the variable names outside to the left of the bars? Here is my example:
Could you help me how i can show variable names of the bars only on the first y-axis of the categorical vars. As you can see from the figure below in my case it is hows on the y-axis of every category. How can I also position the variable names outside to the left of the bars? Here is my example:
Code:
sysuse auto graph hbar mpg displacement, by(foreign, total row(1)) ascategory blabel(bar) yvar(relabel(1 "`: var label mpg'" 2 "`: var label displacement'"))
Comment