Graph axis tick marks

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

ClaireO
Posts: 3
Joined: Thu Oct 13, 2016 12:01 pm

Graph axis tick marks

Postby ClaireO » Thu Oct 13, 2016 12:48 pm

I am plotting a monthly data series and want major ticks every year and minor ticks for quarter values. Using qgraph this works when the time span is greater than 10 years but when I do s=2007 2016 it changes to monthly ticks. Is there a way to maintain the quarterly tick marks with the smaller sample size? If so, what code would you use to program it?

EViews Jason
EViews Developer
Posts: 870
Joined: Tue Sep 16, 2008 3:50 pm

Re: Graph axis tick marks

Postby EViews Jason » Fri Oct 14, 2016 7:51 am

In the graph dialog, select Axes & Scaling->Obs/Date axis. Change the Observations to Label to Custom(Step=Quarter).

The equivalent command would be

Code: Select all

mygraph.datelabel interval(quarter, 1, 1/1/1900)


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests