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:
![Click image for larger version
Name: Graph.jpg
Views: 1
Size: 115.2 KB
ID: 1636052](filedata/fetch?id=1636052&d=1636632089&type=full)
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