This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 Documentation / Mathematica / Getting Started / Tour of Mathematica  /

Handling Data

Mathematica lets you import data in any format, then manipulate it using powerful and flexible functions.

This reads image data from the file image.dat. The semicolon tells Mathematica not to print the result.

This visualizes the data as a density plot.

You can apply any Mathematica function to the data.

Here the data is successively shifted to the right.

Here is a contour plot of the data.

This plots the data keeping only some Fourier components.

This is the distribution of gray levels in the data.

Here is a 3D plot based on the data.

Mathematica can work with data of any kind â€" not just numbers.

Click here to change to the directory that contains the data files used in this section.
This reads in all the entries in a dictionary.

Here are the first 40 entries in the dictionary.

This selects entries that are palindromes with length more than 2.

This finds the lengths of all the entries in the dictionary.

This counts the total number of entries of each length.

Here is a plot of the length distribution.