I want to create two series y and x based on the following formulas
y = 547 + 1.21*x, range (-10 80) (You can take different values of x within the range -10 to 80 with an increment of 10 in each successive number.
(i) plot this function over the range -10 to 80, (ii) label the y-axis in Increments of 100 from 0 to 600, and (iii) draw a vertical line at x=0 (temp=0).
Now to do this in E-views I have capture the command which i have done so far
Code: Select all
wfcreate u 10
{%group}.sheet
close Untitled
SER01.displayname x
SER01.rename x
x.displayname
series y=547 + 1.21*x
y.sheet
close Y
{%graph}.scat
close Untitled
{%graph}.scat
y.sheet
{%graph}.axis(l) range(0,600)
y.sheet
y.sheet
close Untitled
Syntax error in ".SHEET" on line 3.
Please advise me how to improve the code and rewrite it.
With sincere regards,
Upananda Pani