how to add a text label on a vgrid line in graph ?
Posted: Fri Jan 20, 2017 3:42 pm
Dear Tom,
I'm trying to denote a horizontal line in a time series graph. I add that line as a threshold bar. Here is my current codes:
set TED1dummy = TED1 >= 0.8
graph(shading = TED1dummy, vgrid=0.8 )
# TED1 1987:7 2014:12
And I want to add a text as : " gamma= 0.8" somewhere above the horizontal line. I checked the RATS manual on graphics, yet haven't found this case. Attached is the look of current graph by the above code. Looking forwards your advise.
Thank you,
J
I'm trying to denote a horizontal line in a time series graph. I add that line as a threshold bar. Here is my current codes:
set TED1dummy = TED1 >= 0.8
graph(shading = TED1dummy, vgrid=0.8 )
# TED1 1987:7 2014:12
And I want to add a text as : " gamma= 0.8" somewhere above the horizontal line. I checked the RATS manual on graphics, yet haven't found this case. Attached is the look of current graph by the above code. Looking forwards your advise.
Thank you,
J