Announcement

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

  • tline on top of the graph using command twoway area

    Hi,
    I want to plot a reference line on top of the graph using command tline, but it's just under the graph so that I can't see it.
    I found some similar topics that raised by other people, but none of them are using "twoway area" command.

    My command as follows:

    #delimit;
    twoway area aa ab ac ad ae week, graphregion(color(white))
    tline(16feb2020,lwidth(thick)) bcolor(ltblue) blcolor(black)
    color(blue*.1%50 blue*.3%50 blue*.5%50 blue*.7%50 red*.3%80)
    lcolor(black black black black red)
    legend(rows(1) size(small))
    xtitle("")
    ttext(100 16feb2020 "16feb2020", size(8pt) color(red))
    saving(trend1,replace)
    ;

    Any tips would be helpful.
    Thank you.

  • #2
    See

    Code:
    help tw dropline
    instead of -tline()- or present a reproducible example for suggestions (refer to FAQ Advice #12).

    Comment

    Working...
    X