Previous Getting Started with IDL: Mapping Next

Plotting a Portion of the Globe

You do not always have to plot the entire globe, you can plot a section of the globe by using the LIMIT keyword which specifies a region of the globe to plot.

  1. Open a graphics window for viewing:
  2. WINDOW  
    

     

  3. Enter the following at the Command Line:
  4. MAP_SET,32,-100,/AZIM,LIMIT=[10, -130, 55, -70], $
       /GRID,/CONT,/LABEL  
    

     

    Figure 9-5: Azimuthal Equidistant Projection

    Figure 9-5: Azimuthal Equidistant Projection

     

    The azimuthal equidistant projection shows the United States and Mexico. The AZIM keyword selects the azimuthal equidistant projection. The keyword LIMIT is set equal to a four-element vector containing the minimum latitude, minimum longitude, maximum latitude, and maximum longitude.

     

  5. Dismiss the graphics window:
  6. WDELETE  
    

  IDL Online Help (March 06, 2007)