Get axis range from graph object

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator

tho_mi
Posts: 61
Joined: Sat May 12, 2012 2:41 am

Get axis range from graph object

Postby tho_mi » Thu Apr 19, 2018 4:46 am

Hey,

I'd like to find out which ranges EViews uses for a certain graph. Is there a way to do that? Setting the range is straightforward, but I'd like to get the ranges EViews uses. If it's not possible to get the ranges from an object, how does EViews calculate min and max? Usually it's some "nice" number and I'd like to know how EViews gets there (simple rounding isn't very flexible if you don't know the scale of the variable apriori).

Thanks in advance!

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

Re: Get axis range from graph object

Postby EViews Gareth » Thu Apr 19, 2018 7:44 am

Code: Select all

graph.@axismin
graph.@axismax
Follow us on Twitter @IHSEViews

tho_mi
Posts: 61
Joined: Sat May 12, 2012 2:41 am

Re: Get axis range from graph object

Postby tho_mi » Fri Apr 20, 2018 4:48 am

Thanks! Could you also tell me how the ranges are calculated? I'd like to know them before I plot the data.

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

Re: Get axis range from graph object

Postby EViews Gareth » Fri Apr 20, 2018 7:30 am

Unfortunately that is a proprietary algorithm.
Follow us on Twitter @IHSEViews


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest