Page 1 of 1

Get axis range from graph object

Posted: Thu Apr 19, 2018 4:46 am
by tho_mi
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!

Re: Get axis range from graph object

Posted: Thu Apr 19, 2018 7:44 am
by EViews Gareth

Code: Select all

graph.@axismin
graph.@axismax

Re: Get axis range from graph object

Posted: Fri Apr 20, 2018 4:48 am
by tho_mi
Thanks! Could you also tell me how the ranges are calculated? I'd like to know them before I plot the data.

Re: Get axis range from graph object

Posted: Fri Apr 20, 2018 7:30 am
by EViews Gareth
Unfortunately that is a proprietary algorithm.