Reader small image

You're reading from  Mathematica Data Visualization

Product typeBook
Published inSep 2014
Publisher
ISBN-139781783282999
Edition1st Edition
Right arrow
Author (1)
Nazmus Saquib
Nazmus Saquib
author image
Nazmus Saquib

Nazmus Saquib is a researcher at the MIT Media Lab in Cambridge, MA, where he works on data visualization, machine learning, and social computing projects. He has a bachelor's degree in Physics and a master's degree in Computational Engineering and Applied Mathematics. Saquib has been programming 3D games since middle school. As a result, he has developed and maintains a keen interest in game engines, graphics, and visualization. Throughout his academic years, he worked on a wide range of research projects, including acoustics, particle physics, augmented reality, social data mining, and uncertainty quantification. Saquib is also interested in the applications of creative computing in education and social welfare.
Read more about Nazmus Saquib

Right arrow

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 page is locked
Previous PageNext Page
You have been reading a chapter from
Mathematica Data Visualization
Published in: Sep 2014Publisher: ISBN-13: 9781783282999

Author (1)

author image
Nazmus Saquib

Nazmus Saquib is a researcher at the MIT Media Lab in Cambridge, MA, where he works on data visualization, machine learning, and social computing projects. He has a bachelor's degree in Physics and a master's degree in Computational Engineering and Applied Mathematics. Saquib has been programming 3D games since middle school. As a result, he has developed and maintains a keen interest in game engines, graphics, and visualization. Throughout his academic years, he worked on a wide range of research projects, including acoustics, particle physics, augmented reality, social data mining, and uncertainty quantification. Saquib is also interested in the applications of creative computing in education and social welfare.
Read more about Nazmus Saquib