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 ?
formating graph lines
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13318
- Joined: Tue Sep 16, 2008 5:38 pm
Re: formating graph lines
Delete the existing graph before creating the new one.
Follow us on Twitter @IHSEViews
Re: formating graph lines
EViews Gareth wrote:Delete the existing graph before creating the new one.
I am not trying to create a new one, I am quoting it in order to modify its elements
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13318
- Joined: Tue Sep 16, 2008 5:38 pm
Re: formating graph lines
Code: Select all
graph imp_fr lb_f f1_impulse_f ub_f
That line creates a graph.
Follow us on Twitter @IHSEViews
Who is online
Users browsing this forum: No registered users and 24 guests