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

Data importing and basic plots


Equipped with a crash course on the Mathematica programming language, we can really start having some fun with data. The rest of the chapter will teach us how to load simple datasets and plot some values. We will learn about a few different kinds of plots and the methods of styling and customizing them.

Importing data into Mathematica

Mathematica provides a very rich data importing and exporting suite. The two commonly used functions to load data into a worksheet are Import and ReadList. In this section, we will use Import to load a dataset into Mathematica and plot it. We will style our plot, and explore some features of plotting functions that are useful.

SetDirectory[] and NotebookDirectory[]

To load our dataset, we need to tell Mathematica where to look for it. The structure of the code and data provided in the accompanying book's website follow the same pattern for every chapter. Under each chapter folder, there is a folder called data. The folder chapter2...

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}