Formatting axes in graphs

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason

Dag Kolsrud
Posts: 13
Joined: Mon Jul 17, 2017 3:49 am

Formatting axes in graphs

Postby Dag Kolsrud » 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.
Attachments
Investment figure.jpg
Investment figure.jpg (30.31 KiB) Viewed 2382 times

Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 1 guest