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.

Details

  • Typical types include:
  • "AerialImage"sample aerial photography image
    "Audio"sample audio clips
    "ColorTexture"sample color texture
    "Dataset"sample structured dataset
    "Geometry3D"3D geometry data for models and shapes
    "LinearProgramming"linear programming problem
    "MachineLearning"machine learning training and testing data
    "Matrix"sparse or dense matrix
    "NetworkGraph"empirical graphs and networks
    "Sound"sample audio clips
    "Statistics"statistical datasets
    "TestAnimation"test animation for image processing
    "TestImage"test image for image processing
    "TestImage3D"test 3D volume for image processing
    "TestImageSet"test image collections
    "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.

Examples

open allclose all

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]=

Scope  (42)

Applications  (5)

Neat Examples  (3)

See Also

ResourceData  Import  RandomChoice  RandomEntity  WikipediaData  PolyhedronData  GraphData  KnotData  CountryData  PlanetData

Tutorials

Introduced in 2007
(6.0)
| Updated in 2016
(11.0)