This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
Wolfram Research, Inc.

Building Up ComputationsVisualization with Mathematica

Handling Data

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

Click here to change to the directory that contains the data files used in this section.

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 words in a dictionary.

Here are the first 40 words in the dictionary.

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

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

This counts the total number of words of each length.

Here is a plot of the length distribution.

Building Up ComputationsVisualization with Mathematica