NAME
     dumppix - dump pixels from a FITS image/cube to stdout

SYNOPSIS
     dumppix [-s rate] [-x col] [-y lin] image.fits

DESCRIPTION
     dumppix dumps pixel values from a FITS file to stdout  in  a
     format  that  can be read by gnuplot to display surfaces for
     example. As an image may contain too many pixels for  useful
     surface  display, a subsampling factor may be applied before
     dumping pixels (see -s option).

     Upon request, dumppix can only output  the  content  of  one
     line or one column instead of the whole image (see -x and -y
     options).

OPTIONS
     -s rate
          Applies a brutal subsampling rate in x  and  y  on  the
          pixels  before  dumping.  Default is set to 1 (all pix-
          els). Setting this to 2 would skip 1 pixel out of 2  in
          each direction, for example.

     -x col
          Output only the contents of column "col".  The  subsam-
          pling rate can also be applied here. The convention for
          pixel positions is FITS: x goes from 1 to NAXIS1.

     -y lin
          Output only the contents of line "lin". The subsampling
          rate can also be applied here. The convention for pixel
          positions is FITS: y goes from 1 to NAXIS2.

FILES
     Input files can be images, cubes, or ASCII lists.