How to Add Vertical Line denotes Certain Date in spgraph

For questions and discussion related to graphs, reports, and other output, including issues related to presenting or publishing results.
Christy92
Posts: 2
Joined: Tue Dec 01, 2020 6:19 pm

How to Add Vertical Line denotes Certain Date in spgraph

Unread post by Christy92 »

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!
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: How to Add Vertical Line denotes Certain Date in spgraph

Unread post by TomDoan »

Post Reply