June 2016
Beginner to intermediate
1783 pages
71h 22m
English
To produce a publication-quality data visualization, we often need to annotate the graph with various texts, symbols, or even shapes. In this recipe, we will learn how we can easily annotate an existing graph.
In this recipe, we will use the disA and disD variables from ggplotdata. Let's call ggplotdata for this recipe. We also need to call the grid and gridExtra libraries for this recipe.
In this recipe, we will execute the following annotation on an existing scatter plot. So, the whole procedure will be as follows:
Read now
Unlock full access