merge charts

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Jason, EViews Steve, EViews Moderator

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

Re: merge charts

Postby EViews Gareth » Mon Aug 16, 2010 10:28 am

Code: Select all

for %j block_eq block_aic block_r2
if (@isobject(%j)) then
   if {%j}.@type = "GRAPH" then
      graph gr_block.merge {%j}
   endif
endif
next

Something like that.
Follow us on Twitter @IHSEViews

Katjes
Posts: 56
Joined: Thu Oct 02, 2008 5:46 am

Re: merge charts

Postby Katjes » Mon Aug 16, 2010 11:14 am

Seems logical, but unfortunately it's not working :(
both EViews 6 and EViews 7 indicate a syntax error with the line
if {%j}.@type = "GRAPH" then

I already tried without ".." but this is not the problem.

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

Re: merge charts

Postby EViews Gareth » Mon Aug 16, 2010 11:23 am

You need EViews 7.1

(There's a reason we ask you to tell us your version number in each post ;) )
Follow us on Twitter @IHSEViews


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 13 guests