Setobslabel/freeze does not work when plotting a matrix

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt

maren
Posts: 11
Joined: Tue Sep 29, 2009 5:46 am

Setobslabel/freeze does not work when plotting a matrix

Postby maren » Wed Dec 29, 2010 3:24 am

Hello! I am having problems with getting setobslabel to work when in program mode.
When running the code below I get the error that "graph must be frozen...", but the graph IS frozen.

It works if I manually freeze an object and then execute the setobslabel command
(by clicking the mouse button on a freeze button).

Please advise,
Martin
(I am running Eviews 7.0, Jan 7 2010 build)

Code: Select all

workfile y 2010 2010

matrix(5,2) TmpMtx
TmpMtx.fill 1,2,3,4,5,6,7,8,9,10

freeze( mygraph ) TmpMtx.scat linefit
mygraph.setelem symbol(dotobslabel)
mygraph.setobslabel(1,2,current) "test"

trubador
Did you use forum search?
Posts: 1518
Joined: Thu Nov 20, 2008 12:04 pm

Re: Setobslabel/freeze does not work when plotting a matrix

Postby trubador » Wed Dec 29, 2010 5:09 am

Updating your copy of EViews will solve the problem:
http://eviews.com/download/download.html

maren
Posts: 11
Joined: Tue Sep 29, 2009 5:46 am

Re: Setobslabel/freeze does not work when plotting a matrix

Postby maren » Thu Dec 30, 2010 12:07 am

Thanks trubador. I will try. I just wish I didn't have to engage in a battle with IT support every single time I needed something like this done :-)


Return to “Programming”

Who is online

Users browsing this forum: dlondonoc and 6 guests