Announcement

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

  • Add an extra vertical line to forest plot

    Is there a way to add an additional vertical line to a forest plot?

    For example, in this plot (purely for illustration purposes), to obtain a vertical line up from the x-axis value 0.5 to go alongside the existing vertical line that goes up from 0.0?

    Code:
    use http://fmwww.bc.edu/repec/bocode/m/metan_example_data, clear
    gen logOR = log(OR)
    gen logORlci = log(ORlci)
    gen logORuci = log(ORuci)
    forestplot logOR logORlci logORuci
    With thanks

  • #2
    -forestplot- by David Fisher, Stata Journal 15-2 (net sj 15-2 st0384).


    twoway_options are allowed:

    Code:
    forestplot logOR logORlci logORuci, xline(.5)

    Comment

    Working...
    X