Sort command

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

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

Posts: 394
Joined: Fri Apr 15, 2011 5:35 am

Sort command

Postby tvonbrasch » Thu Jan 25, 2018 7:19 am


I cannot get the sort command to work on the graph called GRAPHG2 in the attached workfile.

If I right click the graph object, press SORT and then choose descending, nothing happens,
sort.PNG (19.15 KiB) Viewed 650 times

The same commands work fine for the graph called _GRAPH.

What is it that I am doing wrong?
(50.63 KiB) Downloaded 52 times

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

Re: Sort command

Postby EViews Jason » Mon Jan 29, 2018 11:29 am

The sort command rearranges the x-axis for the graph by observation for a given series. In graph2, since there is only 1 observation per series, there is nothing to sort.

I believe what you want to do is to sort the 6 series using their values at that 1 observation. In other words, you want to reorder the members of the group.

Unfortunately, there isn't a built in way to do what you want. You will have to manually determine the group member order, create the group in that order and then create the graph from that group.

Posts: 394
Joined: Fri Apr 15, 2011 5:35 am

Re: Sort command

Postby tvonbrasch » Tue Jan 30, 2018 12:33 am

aha, yes, that is what i wanted. thanks.

Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 3 guests