.. _pylab_examples-geo_demo:

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



.. plot:: /media/TOSHI/temp/numpy_scipy_matplotlib/matplotlib/matplotlib-1.1.1~rc2/doc/mpl_examples/pylab_examples/geo_demo.py

::

    import numpy as np
    #np.seterr("raise")
    
    from pylab import *
    
    subplot(221, projection="aitoff")
    title("Aitoff")
    grid(True)
    
    subplot(222, projection="hammer")
    title("Hammer")
    grid(True)
    
    subplot(223, projection="lambert")
    title("Lambert")
    grid(True)
    
    subplot(224, projection="mollweide")
    title("Mollweide")
    grid(True)
    
    show()
    

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