Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Re: legend [was;" "]


From   jo la frite <[email protected]>
To   [email protected]
Subject   Re: st: Re: legend [was;" "]
Date   Tue, 22 Jan 2008 16:14:33 -0800 (PST)

it works. thanks Maarten.

jo
--- Maarten buis <[email protected]> wrote:

> You need to add the following option: -order(1 2)-.
> 
> Hope this helps,
> Maarten
> --- jo la frite <[email protected]> wrote:
> 
> > Dear Statalisters,
> > 
> > I am trying to create the legend for a bar graph.
> I
> > have 2 pairs of bars (4 in total). I only want the
> > legend to appear for bars 1 & 2 since the legend
> for
> > bars 3 & 4 are identical to 1 & 2. I can have them
> > appear for all 4 or for none , but not for the
> first
> > 2. I have typed :
> > 
> >  bar(1,color(gray)) bar(2,color (black))
> bar(3,color
> > gray)) bar(4,color(black)) legend( label(1 "XXX")
> > label(2 "YYY") ) 
> > 
> > But Stata automatically added labels for bars 3 &
> 4.
> > 
> > Can anyone help please?  Thanks.
> > 
> > Jo
> > 
> > 
> >      
> >
>
____________________________________________________________________________________
> > Be a better friend, newshound, and 
> > know-it-all with Yahoo! Mobile.  Try it now. 
> >
>
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> 
> > 
> > *
> > *   For searches and help try:
> > *  
> http://www.stata.com/support/faqs/res/findit.html
> > *   http://www.stata.com/support/statalist/faq
> > *   http://www.ats.ucla.edu/stat/stata/
> > 
> 
> 
> -----------------------------------------
> Maarten L. Buis
> Department of Social Research Methodology
> Vrije Universiteit Amsterdam
> Boelelaan 1081
> 1081 HV Amsterdam
> The Netherlands
> 
> visiting address:
> Buitenveldertselaan 3 (Metropolitan), room Z434
> 
> +31 20 5986715
> 
> http://home.fsw.vu.nl/m.buis/
> -----------------------------------------
> 
> 
>      
>
__________________________________________________________
> Sent from Yahoo! Mail - a smarter inbox
> http://uk.mail.yahoo.com
> 
> *
> *   For searches and help try:
> *  
> http://www.stata.com/support/faqs/res/findit.html
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
> 



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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