Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Visualization and Graphics > Graphics Options & Styling > Graphics Shape & Size > Plotting and Image Regions > DataRange >
Mathematica > Visualization and Graphics > Graphics Options & Styling > Plotting Options > Plotting and Image Regions > DataRange >

DataRange

DataRange
is an option for functions such as ListPlot and ListDensityPlot that specifies what range of actual coordinates the data should be assumed to occupy.
  • For 2D and higher-dimensional data, a typical setting is .
  • For ArrayPlot, the settings for DataRange refer to the coordinates of the centers of each cell.
By default lists of values are assumed to have integer values:
Use DataRange to specify a different range of values:
Specify the coordinate range for tabular data:
By default lists of values are assumed to have integer values:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
Use DataRange to specify a different range of values:
In[3]:=
Click for copyable input
Out[3]=
 
Specify the coordinate range for tabular data:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
New in 5.1
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF