Now I get numbers instead of county names on the horizontal axix.
In addition, I need that bars be ordered by totaleffect in ascending order.
--
Ivica Rubil
Ekonomski institut || The Institute of Economics, Zagreb
Trg J. F. Kennedyja 7, 10 000 Zagreb, Croatia
tel. +385-1-2362-269 || fax. +385-1-2335-165
irubil@eizg.hr || www.eizg.hr
-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Nick Cox
Sent: 15. siječanj 2013 16:30
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: FW: stacked bars + dot
If you want to combine bars and dots, then I think you will need
-twoway-. As you have a string variable too, you will need to -encode-
that before it can be plotted on one axis.
Nick
On Tue, Jan 15, 2013 at 3:18 PM, Rubil Ivica <irubil@eizg.hr> wrote:
> I forgot one more thing: on the horizontal axis I want the string variable county to be displayed.
Rubil Ivica
> I need to produce the following graph.
> There are three numerical variables: contrib1, contrib2, totaleffect.
> And one string variable: county
> I want that the variables contrib1 and contrib2 be displayed as stacked bars, and that the variable totaleffect, which is the sum of contrib1 and contrib2, be displayed as a dot on the stacked bars.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/