Page 1 of 1

Shade by variable movement

Posted: Thu Mar 23, 2023 7:36 am
by anacatelen
Hi all!
I was wondering if there is a way to tell EViews to shade a graph whenever the variable is decreasing.
Thank you in advance!

Re: Shade by variable movement

Posted: Thu Mar 23, 2023 9:25 am
by EViews Gareth
When you add shading to a graph, you can specify a sample string, which could be an if condition such as:

Code: Select all

if x<x(-1)

Re: Shade by variable movement

Posted: Thu Mar 23, 2023 10:38 am
by anacatelen
When you add shading to a graph, you can specify a sample string, which could be an if condition such as:

Code: Select all

if x<x(-1)
Thank you very much!