two overlapping fan charts?

For questions and discussion related to graphs, reports, and other output, including issues related to presenting or publishing results.

two overlapping fan charts?

Unread postby PTillmann-436 » Tue Dec 29, 2020 5:44 am

Dear all,

I am plotting impulse respons functions. I want to plot the mean response (beta) and two alternative confidence bands:

graph(nodates,number=0,ovcount=2,overlay=fan,ovsame) 5
# beta / 5
# upper1 / 8
# lower1 / 8
# upper2 / 8
# lower2 / 8

In this graph, one pair is shown as a fan chart, the other as lines. How can I generate two overlapping fan charts?

Thanks for the help.
Peter
PTillmann-436
 
Posts: 19
Joined: Tue Dec 04, 2012 12:51 am

Re: two overlapping fan charts?

Unread postby TomDoan » Tue Dec 29, 2020 1:25 pm

The problem with that is that fan charts "paint" an entire region, so if you could do two separate ones (you can't) the second one done will paint over the first. If you one set is reliably inside the other, you can just list the four and the inner one will be colored in a darker shade than the outer one.
TomDoan
 
Posts: 7240
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 2 guests