Page 1 of 1

Change Line Color

Posted: Mon Sep 24, 2012 4:47 am
by tobi_mueller
Hi everyone,

Is there a possibility/code of changing the color of certain lines? My goal is to color the lines representing the 95% CI (series upper and lower) equally. How to adjust my code?

Code: Select all

[b]graph fitted_gdp_wholesample1.line(o=spartan) fitted_gdp1 gdp_growth upper lower [/b]
Thanks in advance

Re: Change Line Color

Posted: Mon Sep 24, 2012 6:49 am
by EViews Gareth
Look up graph.setelem in the object reference.

Re: Change Line Color

Posted: Tue Sep 25, 2012 6:30 am
by tobi_mueller
thx!!!!

the following code worked just fine for me:

Code: Select all

graph wholesampl.line(o=spartan) gdp_hat gdp_growth wholesample.setelem(1) lcolor(blue) 'colors gpd_hat blue'