.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.40.4.
.TH WCSGRID "1" "September 2022" "wcsgrid 7.12" "User Commands"
.SH NAME
wcsgrid \- Extract FITS WCS keywords and plot graticule
.SH SYNOPSIS
.B wcsgrid
[\fI-a<alt>\fR] [\fI-d<pgdev>\fR] [\fI-h<hdu>\fR] [\fI<fitsfile>\fR]
.SH DESCRIPTION
wcsgrid extracts the WCS keywords for an image from the specified FITS
file and uses pgsbox() to plot a 2\-D coordinate graticule for each
alternate representation found.
.PP
The FITS file may be specified according to the syntax understood by
cfitsio, for example "file.fits.gz+1" refers to the first extension (the
second HDU) of a gzip'd FITS file.  Use "\-" or omit the file name for
input from stdin.
.SH OPTIONS
.TP
\fB\-a\fR<alt>
Plot a graticule only for the alternate representation
specified (ignored if there is only one).
.TP
\fB\-d\fR<pgdev>
PGPLOT device type (default XWINDOW, use "?" for list).
.TP
\fB\-h\fR<hdu>
Move to HDU number (1\-relative) which is expected to
contain an image array.  (Useful for input from stdin.)