Graph shade for left/right axis across different sample periods

For making suggestions and/or requests for new features you'd like added to EViews.

Moderators: EViews Gareth, EViews Moderator

handwashing
Posts: 1
Joined: Tue Jul 14, 2020 1:20 am

Graph shade for left/right axis across different sample periods

Postby handwashing » Sun Jul 19, 2020 8:08 pm

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

EViews Jason
EViews Developer
Posts: 870
Joined: Tue Sep 16, 2008 3:50 pm

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

Postby EViews Jason » Thu Nov 12, 2020 6:23 pm

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?

v02max
Posts: 1
Joined: Wed Nov 22, 2023 6:52 pm

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

Postby v02max » Wed Nov 22, 2023 7:09 pm

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.


Return to “Suggestions and Requests”

Who is online

Users browsing this forum: No registered users and 6 guests