LabelVisibility

LabelVisibility

is an option for Callout and Labeled in plotting functions that determines which labels are shown.

Details

  • LabelVisibility takes the following settings:
  • Allalways show the label
    Infinityhighest priority for automatic labeling
    nrelative priority for automatic labeling
    -Infinitylowest priority for automatic labeling
    Automaticpriority determined by ordering
    Nonenever show the label
  • With LabelVisibility set to Infinity, -Infinity, Automatic or n, the label will be shown if there is space to put it that does not collide with higher-priority labels or other graphical content.
  • LabelVisibility->All shows the label even if it will collide with other content.

Examples

Basic Examples  (2)

Label all the even-numbered points in a plot, even if some of them collide:

Label even-numbered points while avoiding collisions:

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

Text

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2023_labelvisibility, author="Wolfram Research", title="{LabelVisibility}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/LabelVisibility.html}", note=[Accessed: 19-April-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_labelvisibility, organization={Wolfram Research}, title={LabelVisibility}, year={2019}, url={https://reference.wolfram.com/language/ref/LabelVisibility.html}, note=[Accessed: 19-April-2024 ]}