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.

How to Add Vertical Line denotes Certain Date in spgraph

Unread postby Christy92 » Tue Dec 01, 2020 9: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!
Christy92
 
Posts: 2
Joined: Tue Dec 01, 2020 7:19 pm

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

Unread postby TomDoan » Tue Dec 01, 2020 9:47 pm

TomDoan
 
Posts: 7388
Joined: Wed Nov 01, 2006 5:36 pm


Return to Graphics, Reports, and Other Output

Who is online

Users browsing this forum: No registered users and 4 guests