Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: FW: stacked bars + dot


From   "Rubil Ivica" <[email protected]>
To   <[email protected]>
Subject   RE: st: FW: stacked bars + dot
Date   Tue, 15 Jan 2013 16:57:19 +0100

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
[email protected] || www.eizg.hr


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Nick Cox
Sent: 15. siječanj 2013 16:30
To: [email protected]
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 <[email protected]> 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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index