How to extract template & left axis information by command ?

For questions regarding programming in the EViews programming language.

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

Liu
Posts: 90
Joined: Tue Jun 08, 2010 6:22 am

How to extract template & left axis information by command ?

Postby Liu » Mon Apr 02, 2012 8:35 am

Hi all,
I have a question about how to get information of an existing graph in the workfile.

Suppose I have created a graph by command:

graph gr1.line series1
gr1.template t1
gr1.axis(l) range(minmax)



how can I use commands to return the template and min/max of left axis of the graph g1?

I tried

%template=gr1.@template

or similar commands but it doesn't work. Is there a way I can retrieve these two information?
Thanks in advance.

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

Re: How to extract template & left axis information by comma

Postby EViews Gareth » Mon Apr 02, 2012 8:59 am

There is no way.

mboldin
Posts: 10
Joined: Wed Sep 11, 2013 7:53 am

Re: How to extract template & left axis information by comma

Postby mboldin » Thu Nov 07, 2013 8:22 am

Gareth -- does this mean that for a saved graph that was manipulated by hand, we can not get a command listing for all of modifications & selected options ?
I thought g1.@attr("legend") might work for the legend attributes but I can not figure out how @attr() works and the possible inputs

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

Re: How to extract template & left axis information by comma

Postby EViews Gareth » Thu Nov 07, 2013 9:05 am

You are correct, there is no way.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests