GrADS Command: set prnopts

## set prnopts

`set prnopts format numl numb <u>`

Controls the way values are printed when `set gxout print` is used.

`format` a C language template for formatting ascii output. Default is `%g`.
`numl` number of values to print per record. Default is 8.
`numb` number of blanks to insert between values. Default is 1.
`u` print 'Undef' instead of the numerical value for missing data.

### Usage Notes

The first line of the ascii output will tell the user how many data values are being printed as well as the missing data value.

### Examples

1. This example will print all the values in exponential notation:

       set gxout print
       set prnopts %10.3e 5 1
       d t

   The output might look like this:

       Printing Grid -- 30 Values -- Undef = -2.56e+33
       -2.560e+33 -2.560e+33  3.014e+02  3.011e+02  3.001e+02
       -2.560e+33 -2.560e+33  3.010e+02 -2.560e+33 -2.560e+33
       -2.560e+33 -2.560e+33 -2.560e+33 -2.560e+33 -2.560e+33
       -2.560e+33 -2.560e+33 -2.560e+33  2.993e+02  2.995e+02
       -2.560e+33 -2.560e+33  3.004e+02  3.008e+02  3.010e+02
       -2.560e+33 -2.560e+33  2.999e+02  3.010e+02  3.012e+02