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
encode a string variable according to subsrtHi, I have a string variable, vq9_breakupdivorce, which has only 2 string values. Code: * Example …
generating dummy variables for consecutive yearsHi everyone! I am quite new to Stata and I probably have a simple question, but I am not able to fi…
set seedHi All, As I understand set seed the numbers to produce the same result for randomization when runni…
Can esttab produce percent change results for mixed models with log-transformed dependent variable?Hi Statalist, Is it possible to create a coefficients table that produces percent change instead of…
Drawing random sample from a large data set for each observationHi, I have a large dataset on course enrollment. Individual students take courses in different semes…
Subscribe to:
Post Comments (Atom)
0 Response to tline on top of the graph using command twoway area
Post a Comment