formating graph lines
Posted: Thu Oct 10, 2019 10:37 pm
Dear forum participants
I give a try to run the following EVIEWS code
‘plot 68% CI
smpl @last-!imp_periods+1 @last
graph imp_fr lb_f f1_impulse_f ub_f
imp_fr.setelem(1) linepattern(DASH9) linewidth(1.5) linecolor(@rgb(146,194,218))
imp_fr.options linepat
imp_fr.setelem(2) linepattern(solid) linewidth(1.5) linecolor(@rgb(0,0,255))
imp_fr.setelem(3) linepattern(DASH9) linewidth(1.5) linecolor(@rgb(146,194,218))
imp_fr.options linepat
imp_fr.addtext(t) IRC
Where I am plotting 3 different lines, and I want to format them differently, but when I run it, the following error message comes up.
IMP_FR already exists in "GRAPH IMP_FR LB_F F1_IMPULSE_F UB_F"
Eviews does not understand that I instruct to plot the graph and secondly to modify it. Hence the code from from the second to 3rd line. What to do? What is the mistake ?
I give a try to run the following EVIEWS code
‘plot 68% CI
smpl @last-!imp_periods+1 @last
graph imp_fr lb_f f1_impulse_f ub_f
imp_fr.setelem(1) linepattern(DASH9) linewidth(1.5) linecolor(@rgb(146,194,218))
imp_fr.options linepat
imp_fr.setelem(2) linepattern(solid) linewidth(1.5) linecolor(@rgb(0,0,255))
imp_fr.setelem(3) linepattern(DASH9) linewidth(1.5) linecolor(@rgb(146,194,218))
imp_fr.options linepat
imp_fr.addtext(t) IRC
Where I am plotting 3 different lines, and I want to format them differently, but when I run it, the following error message comes up.
IMP_FR already exists in "GRAPH IMP_FR LB_F F1_IMPULSE_F UB_F"
Eviews does not understand that I instruct to plot the graph and secondly to modify it. Hence the code from from the second to 3rd line. What to do? What is the mistake ?