Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Re: xlabel in bar graph


From   "FEIVESON, ALAN H. (AL) (JSC-SK) (NASA)" <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: RE: Re: xlabel in bar graph
Date   Fri, 6 Feb 2004 10:27:59 -0600

Friedrich - 

. twoway bar xm id if id != id[_n-1] , xlabel(1(5)46)


This approach looks more promising - although it will still take some work
to plot two bars side by side for each value of the x-variable. I guess this
can be done by defining a "new" x to be the "old" x plus and minus some
small increment and reducing the widths of the bars. Thanks for the
suggestion.

Al Feiveson






-----Original Message-----
From: [email protected]
[mailto:[email protected]]On Behalf Of Friedrich
Huebler
Sent: Thursday, February 05, 2004 4:15 PM
To: [email protected]
Subject: st: Re: xlabel in bar graph


Al,

Vince Wiggins suggested -twoway bar- in response to a similar
question:

http://www.stata.com/statalist/archive/2003-11/msg00193.html

Friedrich Huebler

--- "FEIVESON, ALAN H. (AL) (JSC-SK) (NASA)"
<[email protected]> wrote:
> Then there is no way to show the label for every 5th set of bars
> other than
> something like
> 
> over(gene,  relabel(1 "." 2 "." 3"." 4"." 6"." 7"." 8"." 9"."
> 11"."...(all
> the way to 49)) ) ?
> 
> Even with this, I can't get it to show nothing for non-multiples of
> 5 For
> example if I replace "." with "" or " ", I still get the original
> x-variable
> value.
> 
> Al Feiveson

__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
*
*   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/
*
*   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