Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mathematica Data Visualization

You're reading from  Mathematica Data Visualization

Product type Book
Published in Sep 2014
Publisher
ISBN-13 9781783282999
Pages 146 pages
Edition 1st Edition
Languages
Author (1):
Nazmus Saquib Nazmus Saquib
Profile icon Nazmus Saquib

Periodic patterns in time series


Often, there are recurring trends in the data that suggest a periodic pattern, and simple plotting of the time series (like what we did in Chapter 2, Dissecting Data Using Mathematica) might not reveal such patterns. Besides, some datasets are inherently periodic. The daily Internet usage of a community can be represented as the hourly percentage of people using the Internet over a span of 24 hours. We can collect such data for a month and visualize any visible trend present in the data. So, what we will have is a percentage number between 0 and 1, recorded for each hour over 30 days. If we are given such a structured dataset, it might not be wise to simply plot the points over time. We would like to compare hourly activity side by side so that we can compare any difference on an hourly basis.

There is an easy solution if we want to stick to point plotting. We can use the Table function and the ;; operator to divide the data into 30 sets of equal length; this...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}