Turn updating off

For questions regarding programming in the EViews programming language.

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

montepio
Posts: 5
Joined: Tue Aug 21, 2012 1:42 am

Turn updating off

Postby montepio » Tue Aug 21, 2012 2:09 am

Hello,

On changing to Eviews 7 (from eviews 6) I found a problem with the command "BAR(l)". I used it in Eviews 6 to change one of the variables displayed into bars (instead of a line).

However, with Eviews 7, although it did change the variable into bars, it also erased the information about the sample, thereby going back to the default sample. As a result, I get a graph with just a piece of data in the middle, instead of the neatly displayed graph I got with eviews 6.

I reckon this problem has to do with the new "graph updating feature", that updates the graph when the type is changed (e.g. when I change it into a bar graph, as with the BAR(l) command).

After checking "EViews 7 Object Reference", I tried to use the command setupdate(o) to turn off autoupdate. However, it does not seem to have any effect.

Does anyone have suggestions?

Thank you in advance,

José Pimentel
MONTEPIO bank
Research Department
Attachments
graph without bar(l) cmd.jpg
Graph without BAR(l) command
graph without bar(l) cmd.jpg (40.07 KiB) Viewed 8159 times
graph with bar(l) cmd.jpg
Graph with BAR(l) command
graph with bar(l) cmd.jpg (16.24 KiB) Viewed 8159 times

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13585
Joined: Tue Sep 16, 2008 5:38 pm

Re: Turn updating off

Postby EViews Gareth » Tue Aug 21, 2012 7:42 am

Could you post the code you're using?

montepio
Posts: 5
Joined: Tue Aug 21, 2012 1:42 am

Re: Turn updating off

Postby montepio » Wed Aug 22, 2012 6:59 am

Hello, here is the code:

1.

Smpl 2000 2011
freeze(GRA_US_GDP) US_GDP.line
GRA_US_GDP.setupdate(o)

(this gets me the graph in the image attached named "good")

smpl @all
GRA_US_GDP.BAR(L)

(this gets me the graph in the image attached named "bad")

* As you can see, despite the cmd "freeze", the graph changed the sample. Even though I issued the cmd "setupdate(0)".
Attachments
bad.JPG
bad.JPG (24.62 KiB) Viewed 8144 times
good.JPG
good.JPG (15.14 KiB) Viewed 8144 times

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13585
Joined: Tue Sep 16, 2008 5:38 pm

Re: Turn updating off

Postby EViews Gareth » Wed Aug 22, 2012 7:45 am

That looks like a bug in EViews. We'll see if we can get it fixed.

montepio
Posts: 5
Joined: Tue Aug 21, 2012 1:42 am

Re: Turn updating off

Postby montepio » Wed Aug 22, 2012 8:53 am

Indeed! Thank you. Do you have any idea when it will be corrected?

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13585
Joined: Tue Sep 16, 2008 5:38 pm

Turn updating off

Postby EViews Gareth » Wed Aug 22, 2012 9:15 am

We usually fix bugs within a day or do. This one is going to mightily tricky though, so might take longer.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13585
Joined: Tue Sep 16, 2008 5:38 pm

Re: Turn updating off

Postby EViews Gareth » Fri Aug 24, 2012 1:53 pm

Should be fixed in today's patch.

montepio
Posts: 5
Joined: Tue Aug 21, 2012 1:42 am

Re: Turn updating off

Postby montepio » Thu Nov 15, 2012 5:16 am

Tks a lot!


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests