hi all,
I try to combine horizontal box blots underneath each other
by using the -xcommon- option, but they do not line up.
Here is an example for what I try to do:
. sysuse auto, clear
. graph box turn, over(rep78) name(g1, replace) horizontal
. graph box turn, over(foreign) name(g2, replace) horizontal
. graph combine g1 g2, xcommon cols(1)
The problem might be that in case of horizontal plots the "yscale" is
along the x-axis. Therefore I also tried out
. graph combine g1 g2, ycommon cols(1)
which doesn't work either (Stata SE 9.0 for Linux, born on 05 Jul 2005).
I can imagine a solution with reshaping the data and applying the
-by()- option instead of the -graph combine- solution, but do you know
an easier one?
Uli
--
[email protected]
+49 (030) 25491-361
*
* 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/