Agreed. This does seem odd, perhaps even a bug.
Nick
[email protected]
Finne H�kon
> I'm not entirely convinced.
> -graph bar headroom trunk, over(foreign) blabel(group)-
> produces something like this (which I should have put in my
> first message):
>
> Domestic
> ________ Domestic
> | | ________
> | | | |
> | | | |
> Domestic | | Domestic | |
> ________ | | ________ | |
> | | | | | | | |
> _______________________________________________
> Domestic Foreign
>
> whereas
> -graph hbar headroom trunk, over(foreign) blabel(group)-
> produces something like this (except that it is laid out
> horizontally):
>
> Foreign
> ________ Foreign
> | | ________
> | | | |
> | | | |
> Foreign | | Foreign | |
> ________ | | ________ | |
> | | | | | | | |
> _______________________________________________
> Domestic Foreign
>
> Yes, individual bars are labeled (which is my deserved
> punishment), so this way of labeling stacked bars with their
> group name will not work (the label will appear twice). But
> no, the actual labels do not make sense as long as there is
> more than one y variable to deal with. I would have expected
> D-D-F-F instead of D-D-D-D with -bar- and F-F-F-F with
> -hbar-. In the case of one y variable,
> -graph [h]bar headroom, over(foreign) blabel(group)-
> it works out fine.
>
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/