Page 1 of 1

RE: Draw Lines

Posted: Mon Oct 26, 2020 9:00 am
by eviewsuser10
Hello!
I am trying to draw a horizontal line at the value 5.25 and 7 as measure on the left axis as follows: graph1.draw(line, left, rgb(0,0,127)) 5.25 and graph1.draw(line, left, rgb(0,0,127)) 7.

However, I need to draw a horizontal line at the value 5.25 for the particular period 2000-2012 (and there should be no line at 5.25 after 2012) and 7 for the period 2013-2020 (and there should be no line at 7 for the 2000-2012 period). How I can draw separate horizontal lines for different periods.

I appreciate any help. Thanks.

Re: RE: Draw Lines

Posted: Mon Oct 26, 2020 9:50 am
by EViews Gareth
You cannot.

Although, of course you could just create a series equal to 5.25 on the periods you want, NA everywhere else, and then add that series to your graph.

Re: RE: Draw Lines

Posted: Mon Oct 26, 2020 10:12 am
by eviewsuser10
You cannot.

Although, of course you could just create a series equal to 5.25 on the periods you want, NA everywhere else, and then add that series to your graph.
Thank you for your response. I do not quite understand what "NA everywhere else, and then add that series to your graph" means. I attached the exemplary graph to this post. Would you please answer my questions in the file? How can I delete the line at 5 for the 2016-2020?
How can I delete the line at 7 for the 2009-2015?
Thank you.

Dae-Young