Page 1 of 1

Logaritmic scaling in graphs - does it work?

Posted: Wed Aug 14, 2019 3:37 am
by mamo
Dear Eviews team,

using EVIEWS 10 March 2018 build, I am wondering if logarithmic scaling in graphs works as expected.

Changing the scale from linear to logarithmic does not seem to change anything in the appearance of the graph, c.f. code below.

Best, mamo

Code: Select all

wfcreate a 2000 2010 series x= @trend^2 freeze(mode=overwrite, gra) x.line show gra ' The change in the scaling does not seem to change anything in the appearance of the graph gra.axis(l) log

Re: Logaritmic scaling in graphs - does it work?

Posted: Wed Aug 14, 2019 10:38 am
by EViews Jason
Actually, the behavior is correct. The reason you are not seeing the log scale is because there is a zero in the data.

If you change the line

Code: Select all

series x= @trend^2
to

Code: Select all

series x= @trend^2+1
the log scale will appear.