Page 1 of 1

Graph shade for left/right axis across different sample periods

Posted: Sun Jul 19, 2020 8:08 pm
by handwashing
Hi EViews Team!

It would be nice if the draw(shade, left/right) command can be modified so that the shaded values can be modified across different sample periods. Please let me know if this is already possible. Something like this would be pretty convenient:

Code: Select all

graph01.draw(shade, left) 1 2 2018Q1 2018Q3
graph01.draw(shade, left) 4 5 2018Q4 2019Q3

Re: Graph shade for left/right axis across different sample periods

Posted: Thu Nov 12, 2020 6:23 pm
by EViews Jason
I am not clear as to what you are asking based on the examples you have given. In your example you have

Code: Select all

graph01.draw(shade, left) 1 2 2018Q1 2018Q3


What does the '1 2' refer to?

Re: Graph shade for left/right axis across different sample periods

Posted: Wed Nov 22, 2023 7:09 pm
by v02max
Would be interested to know if there is already a solution to this question?

The idea is to shade different ranges of the vertical axis for different samples. In this case, 2 3 and 1 2 can pertain to an inflation target range.

Code: Select all

graph01.draw(shade, left) 2 3 2010 2016
graph01.draw(shade, left) 1 2 2017 2023


If I try this code, the shading will be done for 2010 2023 and for the entire 1 to 3 range instead of 2 to 3 for 2010 to 2016 and 1 to 2 for 2017 to 2023.