<!--Copyright (C) 1988-2005 by the Institute of Global Environment and Society (IGES). See file COPYRIGHT for more information.--> <html> <title>GrADS Utilities: gxps</title> <body> <h2><a name="gxps">gxps</a></h2> <p> <code>gxps [ -<i>crd -i <infile> -o <outfile></i> ] ]</code> <p> <code>gxps</code> is a UNIX utility that converts the GrADS metacode format file to a PostScript file. Command line arguments and switches are: <p> <ul> <code>-i <i>fname</i> </code> identifies input GrADS metacode file <br> <code>-o <i>fname</i> </code> identifies output postscript file <br> <code>-c </code> prints color plot <br> <code>-r </code> prints on a black background <br> <code>-d </code> does not append CTRL-D to the file, useful if printing on a HP1200C/PS color printer<br> </ul> <b>Usage Notes</b> <ol> <li> The default behaviour of <code>gxps</code> is to create a grayscale plot on a white background. The GrADS default rainbow colors (color numbers 2 to 14) are converted into appropriate grey shades. User-defined colors (numbers above 15) are translated to greyscale intensity based on their <i>green</i> content only. <li> For more information, see the section in the User's Guide on <a href="imageoutput.html">Producing Image Output from GrADS</a>. </ol> <p> <b>Example</b> <ul> <code>gxps -cr -i mytest.mf -o mytest.ps</code> </ul> <p> Convert GrADS metacode format file <code>mytest.mf</code> to a color plot on a black background and outputs the result to PostScript file <code>mytest.ps</code>. </body> </html>