.. _pylab_examples-geo_demo:

pylab_examples example code: geo_demo.py
========================================



.. plot:: /build/matplotlib-Gi1JJZ/matplotlib-1.5.1/doc/mpl_examples/pylab_examples/geo_demo.py

::

    import matplotlib.pyplot as plt
    
    plt.subplot(221, projection="aitoff")
    plt.title("Aitoff")
    plt.grid(True)
    
    plt.subplot(222, projection="hammer")
    plt.title("Hammer")
    plt.grid(True)
    
    plt.subplot(223, projection="lambert")
    plt.title("Lambert")
    plt.grid(True)
    
    plt.subplot(224, projection="mollweide")
    plt.title("Mollweide")
    plt.grid(True)
    
    plt.show()
    

Keywords: python, matplotlib, pylab, example, codex (see :ref:`how-to-search-examples`)