Basic Plotting with Python and Matplotlib

import matplotlib as mpl import matplotlib.pyplot as plt X = np.linspace(0, 2*np.pi, 100) Y = np.cos(X) ... (line plot) Line (line plot) Markers (scatter plot) Grid Legend Axes Figure Spines Anatomy of a figure ... x Xpan/zoom y Ypan/zoom g Minorgrid0/1 G Majorgrid0/1 l Xaxislog/linear L … ................
................