Customizing the appearance of vector plots

This corresponds to what the scale translates into. For instance, a scale unit set to width says that the unit value of 1 is one times the width of your plot. If a scale unit of x says that 1 is one in the width in the x dimension, a scale value of y says the same thing in the y dimension, while the inches says a scale of 1 equals 1 inch long. So, depending on whether or not we want the arrows to scale relative to the size of the image or actual printed image, we would get a value that is independent of the scale of the data itself, which we can specify using the scale units argument.

To customize the appearance of the vector plots, we will take the following steps:

  1. The width of the vectors can ...

Get Mastering Matplotlib 2.x now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.