WOLFRAM

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

DateScale []

represents the canonical mapping of continuous dates and times to a quantitative scale.

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

DateScale []

represents the canonical mapping of continuous dates and times to a quantitative scale.

Details and Options

Examples

Basic Examples  (2)

Dates are automatically formatted in the axes:

Wolfram Language code: ListLinePlot[IconizedObject[«date values»], ScalingFunctions -> {DateScale[], None}]

Specify how the dates should be formatted:

Wolfram Language code: ListLinePlot[IconizedObject[«date values»], ScalingFunctions -> {DateScale[DateTicksFormat -> {"MonthShort", "/", "Day"}], None}]

Specify that the dates should be taken to be month, then day:

Wolfram Language code: data = {{"01-01", 1}, {"01-02", 2}, {"01-03", 3}, {"01-04", 4}, {"01-05", 5}, {"01-06", 6}, {"01-07", 5}, {"01-08", 6}};
Wolfram Language code: ListLinePlot[data, ScalingFunctions -> {DateScale[DateFunction -> (DateObject[{#, {"Month", "-", "Day"}}]&)], None}]

Reverse the order and use day, then month, for the dates:

Wolfram Language code: ListLinePlot[data, ScalingFunctions -> {DateScale[DateFunction -> (DateObject[{#, {"Day", "-", "Month"}}]&)], None}]
Wolfram Research (2021), DateScale, Wolfram Language function, https://reference.wolfram.com/language/ref/DateScale.html.

Text

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2026_datescale, author="Wolfram Research", title="{DateScale}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/DateScale.html}", note=[Accessed: 16-August-2026]}

BibLaTeX

@online{reference.wolfram_2026_datescale, organization={Wolfram Research}, title={DateScale}, year={2021}, url={https://reference.wolfram.com/language/ref/DateScale.html}, note=[Accessed: 16-August-2026]}

Top [フレーム]

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