Mixed graph - more stand alone code
Posted: Tue Nov 24, 2015 2:32 am
Hi
The mixed graph is graph view for the group-object, which is sometimes makes it a little more complex (not so intutive) code compared to eg the command "line" and "bar"
For example if I would like to plot lines and bars i could write
There would be nice to be able to write a mixed graph, more stand alone, like this
instead of
And then also be able to use functions with these command would makes this even better (see http://forums.eviews.com/viewtopic.php?f=8&t=13483)
Regards Johan
The mixed graph is graph view for the group-object, which is sometimes makes it a little more complex (not so intutive) code compared to eg the command "line" and "bar"
For example if I would like to plot lines and bars i could write
Code: Select all
WfCreate(page=q1) q 2010 2015
Series a1 = Nrnd
Series a2 = Nrnd
PageCreate(page=q2) q 2010 2015
Series b1 = Nrnd
Series b2 = Nrnd
PageSelect q1
' lines
Graph g1.line a1 a2 q2\b1 q2\b2
' bars
Graph g2.bar a1 a2 q2\b1 q2\b2Code: Select all
Graph g3.mixed line(a1,a2) bar(q2\b1,q2\b2)Code: Select all
Group group1 a1 a2 q2\b1 q2\b2
Freeze(g3) group1.mixed line(1,2) bar(3,4)
Delete group1Regards Johan