This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

ExampleData

ExampleData
gives a list of names of examples of the specified type.
ExampleData
gives the default form of the named example of the specified type.
ExampleData
gives the specified element or property of an example.
  • Typical types include:
"AerialImage"sample aerial photography image
"Geometry3D"3D geometry data for models and shapes
"NetworkGraph"empirical graphs and networks
"LinearProgramming"linear programming problem
"Matrix"sparse or dense matrix
"Sound"sample audio clips
"Statistics"statistical datasets
"TestAnimation"test animation for image processing
"TestImage"test image for image processing
"Text"sample text piece
"Texture"sample texture
  • ExampleData gives a list of the elements or properties available for a particular example.
  • In addition to elements specific to the content of an example, the following properties are typically included:
"Image"basic visual representation of the example
"Name"English name
  • ExampleData gives a list of names of types of examples.
A standard image-processing test image:
3D geometry for a space shuttle:
The first 400 characters of the text of the U.S. Declaration of Independence:
A list of example texture images:
A standard image-processing test image:
In[1]:=
Click for copyable input
Out[1]=
 
3D geometry for a space shuttle:
In[1]:=
Click for copyable input
Out[1]=
 
The first 400 characters of the text of the U.S. Declaration of Independence:
In[1]:=
Click for copyable input
Out[1]=
 
A list of example texture images:
In[1]:=
Click for copyable input
Out[1]=
An aerial image of the Pentagon:
2D Fourier transform of raw data:
Wood texture:
A color test image:
A monochrome test image:
Find the names of the first 4 frames:
Extract the frames:
Data from 3D points:
Number of 3D points:
Count the number of test matrices:
Example of a sparse matrix:
Properties for example matrices:
Find a complete linear programming example:
Plot the constraint matrix for a linear programming example:
Find the first 10 example texts available:
First 400 characters of Darwin's Origin of Species:
List of properties:
Author and title:
Number of words in Origin of Species:
Use to get a string with line breaks, etc:
Generate a formatted notebook of the U.S. Declaration of Independence:
Generate "Latinized text":
"Houston, we have a problem":
The Declaration of Independence, formatted very small:
Recolor a test image:
Make a contour plot of gray levels in a test image:
Generate 3D graphics containing multiple space shuttles:
Plot the word frequency distribution for Origin of Species:
Make a 3D graphic from a test image:
Generate a vector field from the normals for a 3D object:
Hamlet's soliloquy, with repeated words successively larger:
New in 6