Announcement

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

  • Formatting forest plot

    Hello!

    I'm trying to format a forest plot.
    In particular, I would like to reduce the size of the squares. I know they are weighted, but still there is the possibility in the graph editor to manually reduce them a bit.

    I am using the following code:

    Code:
    metan events patients, proportion random  transform(ftukey, iv) lcols(author) counts denominator(100)/*
    */ forestplot(graphregion(color(white)) plotregion(color(white)) /*
    */ xlabel(0 5 10 15 20) xtitle("Proportion (%)", size(3)) stats title("Events")/*
    */ olineopt(lcolor(black) lwidth(thin) lpattern(shortdash)) diamopt(lcolor(black)) pointopt(msymbol(x) msize(0)) ciopt(lcolor(navy) lwidth(thin)) boxopt(msymbol(square) msize(small) mcolor(navy))/*
    */ astext(75) texts(75))
    However, if I include the option "msize" within "boxopt", it says:

    boxopts: option msize() not allowed
    Error in forestplot.BuildPlotCmds

    Any suggestion on how to solve it?

    Thank you in advance

    Nicoletta

  • #2
    Using my data, it looks fine. Can you post an example data set?

    Comment

    Working...
    X