Cylindrical projection contour plots#

Example 1: Basic contour plot in default projection#

Making a basic default contour plot which uses the default projection, Cylindrical, and has contour lines explicitly filled and shown with value labels#
f = cf.read(f"cfplot_data/tas_A1.nc")[0]

cfp.con(f.subspace(time=15))
_images/ref_fig_1.png

Example 2: Basic blockfill plot in default projection#

Making a basic blockfill plot which uses the default, Cylindrical, projection#
f = cf.read(f"cfplot_data/tas_A1.nc")[0]

cfp.con(f.subspace(time=15), blockfill=True, lines=False)
_images/ref_fig_2.png

Example 3: Contour plot with altered map limits and levels#

Altering a contour plot to show different limits of latitude and longitude and to change the contour levels displayed#
f = cf.read(f"cfplot_data/tas_A1.nc")[0]

cfp.mapset(lonmin=-15, lonmax=3, latmin=48, latmax=60)
cfp.levs(min=265, max=285, step=1)

cfp.con(f.subspace(time=15))
_images/ref_fig_3.png