Plot

Lines

Line plots are created by the pyplot plot function. I think it is helpful to use the example to explore the matplotlib’s plot command. Let’s imagine we want to see the trend of global air temperature. Then one of the best way to show the trend is a line plot against the time. Draw lines using the data In this example, we will plot the time series of air temperature using the dataset from HadCRUT4 »