Command to set Axis to Foreground

For questions regarding programming in the EViews programming language.

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

ethani
Posts: 3
Joined: Mon Feb 06, 2012 8:42 am

Command to set Axis to Foreground

Postby ethani » Sat Mar 10, 2012 4:44 am

Does anyone know the command to set the data axis labelfor a (band) graph to the foreground? I know how to do this through the "options" menu in the graph object, but not how to program this directly.

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: Command to set Axis to Foreground

Postby EViews Glenn » Mon Mar 12, 2012 9:32 am

Can you elaborate. I don't understand what you are trying to do.

ethani
Posts: 3
Joined: Mon Feb 06, 2012 8:42 am

Re: Command to set Axis to Foreground

Postby ethani » Tue Mar 13, 2012 5:08 am

I am looking for the programming command that is equivalent to the following menu option that can be accessed on a GRAPH object. Options>Axes & Scaling>Data axis labels>Axis ticks & lines: select "zero line foreground" in the lower of the two option menus.

In words, I want the X-axis of the graph to not be covered by a band graph.

Thanks,
Ethan

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: Command to set Axis to Foreground

Postby EViews Glenn » Tue Mar 13, 2012 10:13 am

Try the axis command. I believe zerotop is the option that you want.

Code: Select all

graph_name.axis(left) zerotop


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest