ExampleData

ExampleData["type"]
gives a list of names of examples of the specified type.

ExampleData[{"type", "name"}]
gives the default form of the named example of the specified type.

ExampleData[{"type", "name"}, "elem"]
gives the specified element or property of an example.

DetailsDetails

  • 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[{"type", "name"}, "Properties"] 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.

ExamplesExamplesopen allclose all

Basic Examples (4)Basic Examples (4)

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 US 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]=
New in 6
New to Mathematica? Find your learning path »
Have a question? Ask support »