Basic IDL Commands

Objective

Before we start

Before we END

Starting IDL in UNIX

IDL Help

IDL Help Window

Other IDL Help Facilities

General IDL Information

IDL Character Set

Other IDL Characters

Other IDL Characters

Journal Facility of IDL

sequence.pro

Sample Commands

Creating an Array

Creating an “Indexed Array”

Shortcut Creating Indexed Array

Indexed Array Example

Indexed Array Example

Extracting Array Subset

Scalar Operation on Arrays

Two-Dimensional Plotting

Two-Dimensional Plotting

Two-Dimensional
Plotting Options

Two-Dimensional
Plotting Options

Other Plotting Options

Labeling IDL Plots

Other Plot Facilities

Polygon Filling

Data File Inputs

Three-Dimensional Plotting

Surface Plots

Surface Plots

Color Look-up Tables

Background/Foreground Colors

Shaded Surface Plotting

Draping Data Over a Surface

Surface Plot Colored by Altitude

Simple Contour Plots

Contour Plots Spacing

Contour Plots Labelling

Contour Plots Spacing Adjustment

Colored Contour Plots

Images Data

Image Data

Image Data

Image Processing

XLOADCT Routine

Writing IDL Programs

General Form of an IDL Program

Compiling an IDL Program

Executing an IDL Program

General Form of an IDL Function

Compiling an IDL Function

Executing an IDL Function

Program Design
program file vs. function file

Parameter Passing in IDL

Problems with “Side Effect” Parameter Passing

A Debugging Exercise

Hints for Statistics Problem