Bookmark and Share

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

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

Re: st: FW: stacked bars + dot

From   Nick Cox <>
Subject   Re: st: FW: stacked bars + dot
Date   Tue, 15 Jan 2013 15:29:46 +0000

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.


On Tue, Jan 15, 2013 at 3:18 PM, Rubil Ivica <> 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:

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