Statalist


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

st: producing graph bar help


From   "b. water" <[email protected]>
To   <[email protected]>
Subject   st: producing graph bar help
Date   Mon, 7 Jan 2008 20:44:50 +0000


dear all,

stata 8.2,

i have data that look like this (portion of):

obs	year	ind_methd
1	2003	rapid
2	2005	standard
3	2004	emerg
4	2002	emerg
5	2002	emerg
6	2005	rapid
7	2006	rapid
8	2003	rapid
9	2006	standard
10	2005	rapid
11	2005	standard
12	2005	standard
13	2006	rapid
14	2002	rapid


i want to produce bar chart ala [G] p. 125, with year as x-axis and count of ind_methd as y-axis. however i only wanted rapid and standard to be shown on the chart. i am just wondering what i need to do to ind_methd variable to make: graph bar (count) ind_methd, over(year) bargap(-30) to work to show the graph that i wanted to show.

would appreciate help and advice.

regards,
bw

_________________________________________________________________
Share life as it happens with the new Windows Live.
http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008
*
*   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