Control the number of decimals

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

Pantera
Posts: 44
Joined: Mon Dec 21, 2009 5:32 am

Control the number of decimals

Postby Pantera » Sat Mar 08, 2014 1:12 pm

Hi all,

I have a made a plot showing the relation between x (horizontal axis) and y (vertical axis). Problem: the x-axis shows the decimals which is not that nice. Question: How can I get rid of the decimals on the x-axis?

Regards,

Sent from my SM-N9005 using Tapatalk

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13585
Joined: Tue Sep 16, 2008 5:38 pm

Re: Control the number of decimals

Postby EViews Gareth » Sat Mar 08, 2014 2:46 pm

What would you like to show instead?

Pantera
Posts: 44
Joined: Mon Dec 21, 2009 5:32 am

Re: Control the number of decimals

Postby Pantera » Sat Mar 08, 2014 2:48 pm

Hi - just the numbers without any decimals.

Sent from my SM-N9005 using Tapatalk

Pantera
Posts: 44
Joined: Mon Dec 21, 2009 5:32 am

Re: Control the number of decimals

Postby Pantera » Sat Mar 08, 2014 2:52 pm

I have made the figure, but did not succeed in editing the numbers on the x-axis.

Sent from my SM-N9005 using Tapatalk
Last edited by Pantera on Sat Mar 08, 2014 3:31 pm, edited 1 time in total.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13585
Joined: Tue Sep 16, 2008 5:38 pm

Re: Control the number of decimals

Postby EViews Gareth » Sat Mar 08, 2014 3:07 pm

You mean you want to round the displayed numbers?

Pantera
Posts: 44
Joined: Mon Dec 21, 2009 5:32 am

Re: Control the number of decimals

Postby Pantera » Sat Mar 08, 2014 3:24 pm

Yes, that's correct.

Sent from my SM-N9005 using Tapatalk

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13585
Joined: Tue Sep 16, 2008 5:38 pm

Re: Control the number of decimals

Postby EViews Gareth » Sat Mar 08, 2014 4:32 pm

Open the graph dialog, click on Axes & Scaling -> Data axis labels, then change the Decimals Places combo to "0".

Pantera
Posts: 44
Joined: Mon Dec 21, 2009 5:32 am

Re: Control the number of decimals

Postby Pantera » Sun Mar 09, 2014 3:56 am

Unfortunately the option does not work. The series I'm analyzing is "Undated with ID series" and the "Identifier series" I have selected (and which is the x-axis) is a series with decimals. Anyway, I also expected that the option you recommend should work when editing the plot - but it did not.

Sent from my SM-N9005 using Tapatalk

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13585
Joined: Tue Sep 16, 2008 5:38 pm

Re: Control the number of decimals

Postby EViews Gareth » Sun Mar 09, 2014 9:06 am

Post the workfike

Pantera
Posts: 44
Joined: Mon Dec 21, 2009 5:32 am

Re: Control the number of decimals

Postby Pantera » Sun Mar 09, 2014 9:17 am

Hi - See attached workfile. The "adtime" is the x-axis. Try for example to plot the variable "nps".
Attachments
datac.wf1
(33.47 KiB) Downloaded 473 times

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13585
Joined: Tue Sep 16, 2008 5:38 pm

Re: Control the number of decimals

Postby EViews Gareth » Sun Mar 09, 2014 11:01 am

You don't have any decimals in adtime. When I graph it, it doesn't show decimals.

Pantera
Posts: 44
Joined: Mon Dec 21, 2009 5:32 am

Re: Control the number of decimals

Postby Pantera » Sun Mar 09, 2014 12:42 pm

Mysterious --- I have attached a print-screen so you can see what I see. (I selected and opened the variabel PNS, then selected Graph)
Attachments
printssscr.png
printssscr.png (368.39 KiB) Viewed 14501 times

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13585
Joined: Tue Sep 16, 2008 5:38 pm

Re: Control the number of decimals

Postby EViews Gareth » Sun Mar 09, 2014 3:11 pm

Ah, I had assumed you were doing a scatter graph.

Open up the Adtime series, hit Properties, then change the display format. Then recreate your graph.

Pantera
Posts: 44
Joined: Mon Dec 21, 2009 5:32 am

Re: Control the number of decimals

Postby Pantera » Sun Mar 09, 2014 3:22 pm

Thank Gareth - you solve the problem!


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests