Statalist The Stata Listserver


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

st: How can I combine several forest plots of odds ratios produced by the'metan' command in one graph below each other?


From   "J.S. Cnossen" <[email protected]>
To   [email protected]
Subject   st: How can I combine several forest plots of odds ratios produced by the'metan' command in one graph below each other?
Date   Wed, 14 Feb 2007 12:59:13 +0100

Dear all,

How can I combine several forest plots of odds ratios produced by 
the "metan" command in one graph below each other? 

Below is the syntax used:

____________________________________________________________
metan a b c d if weeks==36, sortby(autpuby) label(namevar=autpuby) 
xlabel(0.1,0.5,1,5,100) texts(4) saving(gestage36, replace) or

metan a b c d if weeks==37, random sortby(autpuby) label
(namevar=autpuby) 
xlabel(0.1,0.5,1,5,100) texts(4) saving(gestage37, replace) or

metan a b c d if weeks==38, sortby(autpuby) label(namevar=autpuby) 
xlabel(0.1,0.5,1,5,100) texts(4) saving(c:\temp\gestage38, replace) or

graph combine gestage36.gph gestage37.gph gestage38.gph, colf copies 
saving(c:\temp\gestagecombi.gph, replace)
____________________________________________________________

Thank you.

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