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: Graph with an additional feature/dimension

From   Nick Cox <>
Subject   Re: st: Graph with an additional feature/dimension
Date   Tue, 8 Jan 2013 09:43:44 +0000

I don't quite share your enthusiasm for the quarter circles, but I
would start with something like

twoway function sqrt(1 - x^2), ra(-1 0) recast(area) aspect(1) color(teal)

You need to scale and shift it, but that's a start. I presume you're
using -twoway bar- for the rest.


On Tue, Jan 8, 2013 at 4:42 AM, Patrick J. Flaherty <> wrote:

> The Wall Street Journal published this graph on Saturday and I am trying to
> replicate it with my Connecticut data.
> I am able to get the bars to be different colors based on value by creating
> one data series for positive numbers and another for negative values (for
> each industry, each year has either a positive value and a missing negative
> value, or a missing positive value and a negative value).  This isn't hard
> to do but perhaps there is a more elegant solution.
> Where I am stumped is the quarter circle on the bottom right of each graph
> sized according to the level of employment in the industry.  Obviously it
> would be easy to create a pie chart showing the proportions of employment by
> industry and then the set of bar charts showing annual growth, but, in my
> view, it looks nice having all that information in one display.
*   For searches and help try:

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