Line graph with different values on left and right axes?
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
-
bobshackleton
- Posts: 25
- Joined: Wed Mar 23, 2011 6:50 am
Line graph with different values on left and right axes?
How would I write a line command to have the first series' values on the left axis and the second series' values on the right axis? Thanks, Bob
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Line graph with different values on left and right axes?
Code: Select all
graph.setelem(2) axis(r)
-
bobshackleton
- Posts: 25
- Joined: Wed Mar 23, 2011 6:50 am
Re: Line graph with different values on left and right axes?
Sorry, I tried that and it doesn't seem to work with a line command. That is, the following code just gets me an error:
Do I need to exxplicitly create a graph object to create a two-axis line graph?
Code: Select all
line iprod lxnfa
graph.setelem(2) axis(r)
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Line graph with different values on left and right axes?
via command, yes.
-
bobshackleton
- Posts: 25
- Joined: Wed Mar 23, 2011 6:50 am
Who is online
Users browsing this forum: No registered users and 2 guests
