— —
This post is written for documentation purpose. It covers the following topics of matplotlib:
- how to plot time series?
- how to add legend?
- how to add title?
- how to add labels?
- how to add label ticks?
- how to rotate labels?
- how to set the font size of labels?
- how to save plot to an image.
See code: http://compassinbabel.org/post/e77f6371-b39b-469d-820a-61e65cd2a0c2
Here is an example of the usage of this function:
And here is the graph generated: