Merge multiple graphs
Posted: Tue Mar 06, 2012 12:26 pm
Hi,
Is there an easy way to merge multiple graphs in a loop?
Suppose, I have graph1 graph2 graph3, and want to merge them in graph_merge. I could write:
graph graph_merge.merge graph1 graph2 graph3
However, if I don't know in advance how many graphs I have, things get tricky. I would like to successively add graphs to my merged figure. A loop such as:
doesn't seem to work (despite the suggestion offered in http://forums.eviews.com/viewtopic.php?f=3&t=2868&), as I get the error that "graphX is not a series".
With groups there's the convenient group.add function; is there something equivalent to merge graphs?
Many thanks,
Philipp
PS I use Eviews 7.2.
Is there an easy way to merge multiple graphs in a loop?
Suppose, I have graph1 graph2 graph3, and want to merge them in graph_merge. I could write:
graph graph_merge.merge graph1 graph2 graph3
However, if I don't know in advance how many graphs I have, things get tricky. I would like to successively add graphs to my merged figure. A loop such as:
Code: Select all
for !loop = 1 to !max_graphs
graph_merge.merge graph{!loop}
next
With groups there's the convenient group.add function; is there something equivalent to merge graphs?
Many thanks,
Philipp
PS I use Eviews 7.2.