Statalist


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

Re: st: AW: Two bars graph commands


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: AW: Two bars graph commands
Date   Mon, 11 Jan 2010 06:49:20 -0800 (PST)

--- On Mon, 11/1/10, Ricardo Ovaldia wrote:
> For example I want something like this:
> 
> graph (bar  weight, over(make)) (bar if weight
> foreign==1, over(make))
> 
> I know that this example makes little sense, but it
> captures the idea.

This kind of problem can't be handled by -graph bar-,
you will need to transform it into a -twoway bar- graph.
See for example the talk by Nick Cox at the last German
Stata Users' meeting:
http://ideas.repec.org/p/boc/dsug09/01.html

Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------


      

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index