;  $Id: //depot/idl/IDL_71/idldir/examples/doc/plot/cntour02#1 $

;  Copyright (c) 2005-2009, ITT Visual Information Solutions. All
;       rights reserved.
; 
; This batch file creates a contour plot used as an example in
; Chapter 11, "Plotting Multi-dimensional Arrays", of _Using IDL_.

; Restore variables elev, X, and Y.

@cntour01
 
; REBIN down to a 70 x 90 matrix.

new = REBIN(elev, 350/5, 450/5)	

; Make the plot, specifying the contour levels, missing data value,
; linestyles, etc. Set the STYLE keywords to 1, obtaining exact axes. 

CONTOUR, new, X, Y, LEVELS = 2750 + FINDGEN(6) * 250., $
    XSTYLE = 1, YSTYLE = 1, YMARGIN = 5, MAX_VALUE = 5000, $
    C_LINESTYLE = [1, 0], $
    C_THICK = [1, 1, 1, 1, 1, 3], $
    TITLE = 'Maroon Bells Region', $
    SUBTITLE = '250 meter contours', $
    XTITLE = 'UTM Coordinates (KM)'

