WordOrientation

WordOrientation

is an option for WordCloud that specifies the orientations in which words appear.

Details

  • Possible settings for WordOrientation include:
  • "Horizontal"all horizontal
    "Vertical"all vertical
    θall at angle θ
    "HorizontalVertical"almost half horizontal, half vertical
    {"HorizontalVertical",f}fraction f of the words are horizontal; the rest are vertical
    "Random"randomly select from the range
    {θ1,θ2}word rotations randomly taken from the range {θ1,θ2}
    {{θ1,θ2,}}randomly select from the list of rotations θi
  • Rotation angle θi represents words rotated counterclockwise by θi radians.
  • For all settings allowing random choices of angle the RandomSeeding option to WordCloud can be used to determine the seeding of the randomness used.

Examples

open allclose all

Basic Examples  (1)

A word cloud with random orientations:

Randomly select from two given orientations:

Scope  (1)

Use different orientation settings when creating the word cloud:

All horizontal text:

All vertical:

All at a fixed angle:

Horizontal and vertical:

Use 80 percent horizontal:

Use random orientation in the range :

Specify a range of word orientations:

Specify a list of accepted orientations:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_wordorientation, organization={Wolfram Research}, title={WordOrientation}, year={2015}, url={https://reference.wolfram.com/language/ref/WordOrientation.html}, note=[Accessed: 24-April-2024 ]}