Book Image

matplotlib Plotting Cookbook

By : Alexandre Devert
Book Image

matplotlib Plotting Cookbook

By: Alexandre Devert

Overview of this book

Table of Contents (15 chapters)
matplotlib Plotting Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 3. Working with Annotations

In this chapter, we will cover the following topics:

  • Adding a title

  • Using LaTeX-style notations

  • Adding a label to each axis

  • Adding text

  • Adding arrows

  • Adding a legend

  • Adding a grid

  • Adding lines

  • Adding shapes

  • Controlling tick spacing

  • Controlling tick labeling