multiple graphs with 2 or more series on each

For questions regarding programming in the EViews programming language.

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

remuct
Posts: 21
Joined: Fri May 12, 2017 6:47 am

multiple graphs with 2 or more series on each

Hi,
I would like to know if there is a way of creating multiple graphs, the difficulty being that each graph should contain 2 series. For example, suppose I have the couples of series (x1,y1), (x2,y2),... (x10,y10) for 10 countries. How can I plot the two series for each country as a set of ten graphs aligned, say, in 5 columns with horizontal and vertical spacing of 1 virtual inch?
Thanks a lot

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

Re: multiple graphs with 2 or more series on each

Code: Select all

`create m 1990 2020for !i=1 to 10   series y!i=nrnd   series x!i=nrndnextfor !i=1 to 10   group g_!i x!i y!i   freeze(graph_!i) g_!i.linenextgraph master.merge graph_1 graph_2 graph_3 graph_4 graph_5 graph_6 graph_7 graph_8 graph_9 graph_10master.align(5,1,1)show master`