Skip to content
Back to top
View this page

# Eckert IV Projection

A global equal-area projection.

    from mpl_toolkits.basemap import Basemap
    import numpy as np
    import matplotlib.pyplot as plt
    # lon_0 is central longitude of projection.
    # resolution = 'c' means use crude resolution coastlines.
    m = Basemap(projection='eck4',lon_0=0,resolution='c')
    m.drawcoastlines()
    m.fillcontinents(color='coral',lake_color='aqua')
    # draw parallels and meridians.
    m.drawparallels(np.arange(-90.,120.,30.))
    m.drawmeridians(np.arange(0.,360.,60.))
    m.drawmapboundary(fill_color='aqua')
    plt.title("Eckert IV Projection")
    plt.show()

(`Source code`)