Oriented Word Clouds
Word clouds generally keep the text horizontal for readability.
In[1]:=
![Click for copyable input](assets.en/oriented-word-clouds/In_34.png)
input = ExampleData[{"Text", "AliceInWonderland"}];
In[2]:=
![Click for copyable input](assets.en/oriented-word-clouds/In_35.png)
WordCloud[input, ImageSize -> Medium]
Out[2]=
![](assets.en/oriented-word-clouds/O_29.png)
Allow the words to be horizontal or vertical.
In[3]:=
![Click for copyable input](assets.en/oriented-word-clouds/In_36.png)
WordCloud[input, WordOrientation -> "HorizontalVertical",
ImageSize -> Medium]
Out[3]=
![](assets.en/oriented-word-clouds/O_30.png)
Specify a set of angles at which the words can be rotated.
In[4]:=
![Click for copyable input](assets.en/oriented-word-clouds/In_37.png)
WordCloud[input, WordOrientation -> {{0, \[Pi]/3}},
ImageSize -> Medium]
Out[4]=
![](assets.en/oriented-word-clouds/O_31.png)
Allow the words to be in any orientation.
In[5]:=
![Click for copyable input](assets.en/oriented-word-clouds/In_38.png)
WordCloud[input, WordOrientation -> "Random", ImageSize -> Medium]
Out[5]=
![](assets.en/oriented-word-clouds/O_32.png)