Matplotlib

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 »

Visualization

Visualizing the results is the key process of the atmospheric and oceanic data analysis. Since Python is an open-source programming language, there are more than one options for visualizing the result. Those include PyNGL by NCAR, Visualization Control System by UV-CDAT and Matplotlib. In the class, we will focus on Matplotlib. Matplotlib Matplotlib is a Python 2D plotting library which produces publication quality figures in a variety of hardcopy formats and interactive environments across platforms. »