$Id: bsc_help2.txt,v 1.1.1.2 1992/05/12 22:10:01 carr Exp $
PV-WAVE BASIC FUNCTIONS DEMONSTRATION

-----------------------------------------------------------------
SECTION 2.   (2-D DATA DISPLAY)
-----------------------------------------------------------------
In this section of the demo, a "Binary Unformatted" data
file is used containing a 512x512 8-bit image (one byte
per pixel, 262144 bytes total).

The PV-WAVE code to read this data file into a PV-WAVE
variable is as follows :

   ;*************************************************************
   image = Bytarr(512, 512)
   Openr, 1, !!Data_Dir + 'whirlpool.img'
   Readu, 1, image
   Close, 1
   ;*************************************************************

The following are two of the PV-WAVE commands that can be used to
display this data :

   Contour, image, Levels=[50, 75, 100, 125], $
            C_Colors=[50, 75, 100, 125]

   Tvscl, image

One way to set the colortable to use when displaying graphics and
images is to use the "Loadct" command.

   ;*************************************************************
   Loadct, number         (where "number" is the number of a pre-
                           defined PV-WAVE colortable 0-16.)
   ;*************************************************************

