Graph option - NA Handling, connect adjacent observations

For questions regarding programming in the EViews programming language.

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

cap
Posts: 55
Joined: Fri Oct 17, 2008 11:47 am

Graph option - NA Handling, connect adjacent observations

Postby cap » Thu Oct 22, 2009 9:06 am

Greetings,

In my workfile I have a graph already made (a line graph of several variables in a group), and would like to create a new graph (a line graph of the same variables in the group) using it as a template. However, one feature that exists in the original graph does not seem to be carried over to the newly created graph. In particular, the option I am thinking of is this one:


Graph options > Type > NA Handling, connect adjacent non-missing observations


How can I get this option to be enacted via programming syntax?


Even more perplexing, this "NA Handling" checkbox appears when I open a group in spreadsheet view, and then switch to a graph view. But, once I have the graph, if I go back to graph options and view the "Type" tab, then the option no longer even appears.


Thanks in advance,
-cap

EViews Pamela
EViews Developer
Posts: 54
Joined: Wed Sep 17, 2008 2:52 pm

Re: Graph option - NA Handling, connect adjacent observations

Postby EViews Pamela » Thu Oct 22, 2009 2:20 pm

There are a few options that are not applied from a template, including the NA Handling option. In general, most options on the Type page are not applied.

The command to reapply the option is:
graph_name.options connect

The NA Handling option, along with many others on the Type page, are available only before a graph is frozen. Once frozen, only the fundamental graph type may be changed.

cap
Posts: 55
Joined: Fri Oct 17, 2008 11:47 am

Re: Graph option - NA Handling, connect adjacent observations

Postby cap » Fri Oct 23, 2009 8:52 am

Works perfectly, thanks very much!


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests