Statalist The Stata Listserver


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

st: graph query


From   Lukar Thornton <lukar@unimelb.edu.au>
To   statalist@hsphsun2.harvard.edu
Subject   st: graph query
Date   Tue, 10 Oct 2006 09:42:05 +1000

I have some data that I would like to fit onto a single graph (see below)

 

I want a vertical bar graph with the ffintake_ord categories along the x-axis with 3 vertical lines for each category to represent the percentages for each strata.

Is this possible and if so how do I do it?

 

 

           |           ffintake_ord

    Strata |         0          1          2 |     Total

-----------+---------------------------------+----------

         1 |       523        284         61 |       868

           |     60.25      32.72       7.03 |    100.00

-----------+---------------------------------+----------

         2 |       495        281         80 |       856

           |     57.83      32.83       9.35 |    100.00

-----------+---------------------------------+----------

         3 |       359        256         96 |       711

           |     50.49      36.01      13.50 |    100.00

-----------+---------------------------------+----------

     Total |     1,377        821        237 |     2,435

           |     56.55      33.72       9.73 |    100.00

 

 

 

-----------------------------------------------

Lukar Thornton

PhD Candidate / VicLANES Research Assistant

lukar@unimelb.edu.au 

Ph: (03) 8344 7389

Mob: 0410 566 848

http://www.kcwhs.unimelb.edu.au/viclanes/

----------------------------------------------

 

Key Centre for Women's Health in Society

WHO Collaborating Centre for Women's Health

Department of Public Health

School of Population Health

Faculty of Medicine, Dentistry and Health Sciences

The University of Melbourne

Victoria, Australia

 

 

 




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