Formatting axes in graphs
Posted: Wed Jun 05, 2024 2:41 am
Why do I get different looking left and right axes on the attached graph when using these commands:
%rightaxisrange="6000, 24000"
%leftaxisrange="30000, 120000"
and
{%gr}.axis(l) units(k) format(dec=0) range({%leftaxisrange}) font(Open Sans,13,-b,-i,-u,-s)
{%gr}.axis(r) units(k) format(dec=0) range({%rightaxisrange}) font(Open Sans,13,-b,-i,-u,-s)
Why do the right axis not start on 6 and label every grid line like the left axis, i.e. 2, 4, 6,..., 24?
Statistics Norway use EViews graphs in a quarterly business cycle report. Sometimes the graphs look unfortunate. We would appreciate more manual/programming control of graphs.
%rightaxisrange="6000, 24000"
%leftaxisrange="30000, 120000"
and
{%gr}.axis(l) units(k) format(dec=0) range({%leftaxisrange}) font(Open Sans,13,-b,-i,-u,-s)
{%gr}.axis(r) units(k) format(dec=0) range({%rightaxisrange}) font(Open Sans,13,-b,-i,-u,-s)
Why do the right axis not start on 6 and label every grid line like the left axis, i.e. 2, 4, 6,..., 24?
Statistics Norway use EViews graphs in a quarterly business cycle report. Sometimes the graphs look unfortunate. We would appreciate more manual/programming control of graphs.