is an option for plotting functions that specifies styles in which uncertainty intervals are drawn.
IntervalMarkersStyle
is an option for plotting functions that specifies styles in which uncertainty intervals are drawn.
Details
- IntervalMarkersStyle can take the following forms:
-
Automatic automatically styled markers None no error bars g graphics directive g Directive[g1,g2,…] combined directives g1,g2,… {g1,g2,…} individual directives for successive sets of markers <|"prop1"val1,…|> structured styling of interval markers - The properties and values for structured styling include:
-
"FenceStyle" style style of fences "FenceWidth" width width of fences "WhiskerStyle" style style of whiskers - The width is given as a fraction of the width of the box, and the style can be any directive.
- By default, IntervalMarkersStyle inherits from PlotStyle.
Examples
open all close allBasic Examples (3)
Uncertainties automatically inherit the plot style:
ListPlot[Table[Around[RandomReal[20], 1], 10], PlotStyle -> StandardGray]Interval marker styles are different for each dataset:
ListPlot[{Table[Around[RandomReal[20], 1], 10], Table[Around[RandomReal[20], 1], 10]}]Specify the style for uncertainties:
ListPlot[Table[Around[RandomReal[20], 1], 10], IntervalMarkersStyle -> Red]Scope (5)
Use different styles for different sets:
ListPlot[{Table[Around[RandomReal[20], 1], 10], Table[Around[RandomReal[20], 1], 10]}, IntervalMarkersStyle -> {Red, Blue}]Customize the style for uncertainties:
ListPlot[Table[Around[RandomReal[20], 1], 10], IntervalMarkersStyle -> <|"FenceStyle" -> Red, "WhiskerStyle" -> Green|>]BarChart[Table[Around[RandomReal[20], {1, 1}], 10], IntervalMarkersStyle -> <|"WhiskerStyle" -> Red|>]Use bands to visualize uncertainty continuously:
ListPlot[Table[Around[RandomReal[20], 1], 10], IntervalMarkers -> "Bands", IntervalMarkersStyle -> Pink]Use ellipses to visualize uncertainty as an area:
ListPlot[Table[Around[RandomReal[20], {{1, 1}, {1, 1}}], 10], IntervalMarkers -> "Ellipses", PlotRange -> All, IntervalMarkersStyle -> Thick]Related Guides
History
Text
Wolfram Research (2019), IntervalMarkersStyle, Wolfram Language function, https://reference.wolfram.com/language/ref/IntervalMarkersStyle.html.
CMS
Wolfram Language. 2019. "IntervalMarkersStyle." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/IntervalMarkersStyle.html.
APA
Wolfram Language. (2019). IntervalMarkersStyle. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/IntervalMarkersStyle.html
BibTeX
@misc{reference.wolfram_2026_intervalmarkersstyle, author="Wolfram Research", title="{IntervalMarkersStyle}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/IntervalMarkersStyle.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_intervalmarkersstyle, organization={Wolfram Research}, title={IntervalMarkersStyle}, year={2019}, url={https://reference.wolfram.com/language/ref/IntervalMarkersStyle.html}, note=[Accessed: 12-June-2026]}