WOLFRAM

Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how
Wolfram Language & System Documentation Center

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.

Details
Details and Options Details and Options
Examples  
Basic Examples  
See Also
Related Guides
History
Cite this Page

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.

Details

  • For 1D data, a typical setting is DataRange->{xmin,xmax}.
  • For 2D and higher-dimensional data, a typical setting is {{xmin,xmax},{ymin,ymax},}.
  • For ArrayPlot , the settings for DataRange refer to the coordinates of the centers of each cell.

Examples

Basic Examples  (2)

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:

History

Introduced in 2004 (5.1)

Wolfram Research (2004), DataRange, Wolfram Language function, https://reference.wolfram.com/language/ref/DataRange.html.

Text

Wolfram Research (2004), DataRange, Wolfram Language function, https://reference.wolfram.com/language/ref/DataRange.html.

CMS

Wolfram Language. 2004. "DataRange." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/DataRange.html.

APA

Wolfram Language. (2004). DataRange. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DataRange.html

BibTeX

@misc{reference.wolfram_2025_datarange, author="Wolfram Research", title="{DataRange}", year="2004", howpublished="\url{https://reference.wolfram.com/language/ref/DataRange.html}", note=[Accessed: 16-November-2025]}

BibLaTeX

@online{reference.wolfram_2025_datarange, organization={Wolfram Research}, title={DataRange}, year={2004}, url={https://reference.wolfram.com/language/ref/DataRange.html}, note=[Accessed: 16-November-2025]}

Top [フレーム]

AltStyle によって変換されたページ (->オリジナル) /