Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mathematica data visualization

You're reading from   Mathematica data visualization Create and prototype interactive data visualizations using Mathematica

Arrow left icon
Product type Paperback
Published in Sep 2014
Publisher
ISBN-13 9781783282999
Length 146 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Nazmus Saquib Nazmus Saquib
Author Profile Icon Nazmus Saquib
Nazmus Saquib
Arrow right icon
View More author details
Toc

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...

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 $19.99/month. Cancel anytime
Banner background image