Statalist


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

Re: st: AW: Two bars graph commands


From   Ricardo Ovaldia <[email protected]>
To   [email protected]
Subject   Re: st: AW: Two bars graph commands
Date   Mon, 11 Jan 2010 06:29:56 -0800 (PST)

Thank you Martin but I am not sure that I understand.

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.

Ricardo


Ricardo Ovaldia, MS
Statistician 
Oklahoma City, OK


--- On Mon, 1/11/10, Martin Weiss <[email protected]> wrote:

> From: Martin Weiss <[email protected]>
> Subject: st: AW: Two bars graph commands
> To: [email protected]
> Date: Monday, January 11, 2010, 7:17 AM
> 
> <> 
> 
> It is fairly easy to check with the -recast()- option.
> 
> *************
> sysuse auto, clear
> tw (sc turn we, recast(bar) lwidth(thick)) (sc mpg we,
> recast(bar)
> lwidth(thick))
> *************
> 
> 
> 
> HTH
> Martin
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: [email protected]
> [mailto:[email protected]]
> Im Auftrag von Ricardo Ovaldia
> Gesendet: Montag, 11. Januar 2010 14:05
> An: [email protected]
> Betreff: st: Two bars graph commands
> 
> Hello,
> 
> Is there a way to get two bar commands on the same graph.
> Something similar
> to -graph twoway (scatter y x ....) (scatter y1 x ....)-
> but with bars?
> 
> Thank you in advance,
> Ricardo 
> 
> 
> Ricardo Ovaldia, MS
> Statistician 
> Oklahoma City, OK
> 
> 
> 
> 
>       
> *
> *   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/
> 
> 
> *
> *   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/
> 


      

*
*   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