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.
Related Posts with tline on top of the graph using command twoway area
Merging dataset with different number of subjectsHello, this is my first post and I am a bit of a newbie so I hope my question is not too obvious. I…
Calculate sum of values in a tableDear all, I am currently working with a dataset where I would like to get the sum of values with ce…
FMM predictive accuracy measuresDear STATA list members, I'm using the STATA command fmm to fit a 2-component normal mixture model …
missing option in proportion commandHello everyone, I am having a problem switching to STATA 14 to 16 Command proportion does not have…
Time series - connected scatter?I want to create a rather simple graph that I thought that many others have used before. But after s…
Subscribe to:
Post Comments (Atom)
0 Response to tline on top of the graph using command twoway area
Post a Comment