Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Help formatting forest plot

    Hello,

    I recently got a meta-analysis accepted however the journal gave me a detailed technical review that I need to do before they send it to print. Much of this technical review has to do with formatting of the forest plot.

    Currently my code looks like:
    HTML Code:
    metan logor selogor if income1<10, random eform lcols(author) astext(50) boxsca(60) xsize(18) ysize(15) nowt xlabel(0.5, 1,2,5, 10, 50)
    And I get a forest plot that looks like this:
    Click image for larger version

Name:	Forest1.png
Views:	3
Size:	41.9 KB
ID:	1342398

    There are multiple questions in their technical review that are fairly detailed that I have no idea how to do and after looking online for answers am still clueless
    (Documents I have looked at: 1) http://www.biostat.jhsph.edu/~fdomin...a.analysis.pdf 2) http://www.stata-journal.com/sjpdf.h...clenum=sbe24_2 3) http://csm.lshtm.ac.uk/files/2011/02...29-11-2012.pdf 4) http://citeseerx.ist.psu.edu/viewdoc...=rep1&type=pdf)

    I was wondering if someone familiar with metan is able to help me with some of these questions since there does not seem to be anything available (that I can find at least) online.

    Here are a few of the questions that I am stuck on:
    1) Each column heading should be individually underlined; remove the solid line that runs the width of the figure below the column headings
    2) In the ES (95% CI) column, be sure ES values are aligned on the decimal point. Then align on the space between the ES value and the ( and again on the decimal point and the space between the CI values.
    3) In the Overall row in teh first column, format I and P in uppercase italics. Format as I2 rather than I-squared.
    4) Add .0 as needed to values on the x axis so that all values have the same number of decimal places (e.g., 0.5, 1.0, 2.0, etc).
    5) Remove the "Note" from the first column and explain in the legend instead.
    6) Remove the blue box from the plot area.

    If there is any way someone can help me it would be greatly appreciated. If there is documentation somewhere that I am missing and it would be easier to direct me to this document that would be very helpful as well. I know this is asking for a lot of help but I am not sure what else to do. If it is more helpful I can also upload my dataset.

    Thanks in advance for any help you can provide.

    Best,
    Leo







    Attached Files

  • #2
    Can you open the graph editor and format the graph as requested?
    Stata/MP 14.1 (64-bit x86-64)
    Revision 19 May 2016
    Win 8.1

    Comment


    • #3
      This does work for most of the comments Carole! thank you! It is painstakingly long to do this but it works! So I will make this work if there is no other way.

      There is one aspect I am unable to fix -- how do I make the dotted line and the pooled parallelogram black? Currently the dotted line is red and the parralelogram is blue. I tried setting scheme as lean 1 or lean2 and also tried combinations of lcolor -- none of which worked.

      Thanks again for your help!

      Comment

      Working...
      X