Page 1 of 1

Different scaling of two y-axes

Posted: Fri Jan 27, 2012 5:48 am
by reep
I have a group of two series. One series refers to an equity index and the other to yields. I want to plot both in one graph, but the scale for the equity index should be on the right side and for the yields on the left side. Is there a possibility to accomplish this?
Thanks for the help.

Re: Different scaling of two y-axes

Posted: Fri Jan 27, 2012 8:43 am
by EViews Gareth
Yes, in the Graph Options dialog, under Axes and Scaling, you can assign each series to a different axes.

Re: Different scaling of two y-axes

Posted: Mon Jan 30, 2012 2:19 am
by reep
How can I assign two axis via code. Do you have a short code example?
Thanks a lot.
All best,
reep

Re: Different scaling of two y-axes

Posted: Mon Jan 30, 2012 8:41 am
by EViews Gareth

Code: Select all

graph.setelem(2) axis(r)