Adding Text to a Plot
In this lesson, we will learn how to add text to a plot, and how to change the style of the text.
What is text
?
Text is basically a simpler version of annotate
. Unlike annotate
, we don’t need to anchor our text to one specific data location. The text feature is useful when we want to add some text to a diagram without linking it to any specified data. For example, if we want to present some textual information or provide an explanation.
Although the purpose of tex
t is simple, it is a rich feature. Just like with annotate
, we can control the appearance of the text by setting a number of options, most of which are related to presentation style. Some of the most common options will be introduced in this lesson.