Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > dcaf9bd555d1ce386641f56c6523d3ed > files > 295

grads-2.0.2-1.fc18.i686.rpm

<!--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 &lt;infile&gt; -o &lt;outfile&gt;</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>&nbsp;&nbsp;&nbsp;&nbsp;</code>
identifies input GrADS metacode file <br>
<code>-o <i>fname</i>&nbsp;&nbsp;&nbsp;&nbsp;</code>
identifies output postscript file <br>
<code>-c &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code>
prints color plot <br> 
<code>-r &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code>
prints on a black background <br>
<code>-d &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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>