How to Add Vertical Line denotes Certain Date in spgraph
Posted: Tue Dec 01, 2020 8:33 pm
Hello Tom,
I would like to ask on how to add vertical line denotes certain date in a graph, also in spgraph from the Diebold-Yilmaz (2012) replication.
Here is one of the codes:
spgraph(vfields=4,hfields=4,$
header="Figure 1. Daily Non U.S. Financial Market Volatilities",$
subheader="Annualized Standard Deviation, Percent")
dofor i = BTCNGN NGSE BTCIDR JKSE BTCMYR KLSE BTCZAR JSE
set ann_std_dev = 100*sqrt(365*i{0})
graph(header=longhash(%l(i)))
# ann_std_dev
end dofor i
spgraph(done)
Thankyou for your help!
I would like to ask on how to add vertical line denotes certain date in a graph, also in spgraph from the Diebold-Yilmaz (2012) replication.
Here is one of the codes:
spgraph(vfields=4,hfields=4,$
header="Figure 1. Daily Non U.S. Financial Market Volatilities",$
subheader="Annualized Standard Deviation, Percent")
dofor i = BTCNGN NGSE BTCIDR JKSE BTCMYR KLSE BTCZAR JSE
set ann_std_dev = 100*sqrt(365*i{0})
graph(header=longhash(%l(i)))
# ann_std_dev
end dofor i
spgraph(done)
Thankyou for your help!