gradutilgxeps.html 3.54 KB
Newer Older
1
<!--Copyright (C) 1988-2005 by the Institute of Global Environment and Society (IGES). See file COPYRIGHT for more information.-->
<html><title>GrADS Utilities: gxeps</title><link rel="stylesheet" href="/assets/NewIGES.css"><body bgcolor="#e0f0ff"><h2><a name="gxeps">gxeps</a></h2>
<code>gxeps [ -<i>acdklrsv -i &lt;infile&gt; -o &lt;outfile&gt;</i> 
] [<i>&lt;infile&gt;</i>]</code><p class="plaintext"> Converts the GrADS metacode format file to a PostScript 
  file. Where: <ul>
  <code>-i <i>fname</i>&nbsp;&nbsp;&nbsp;&nbsp;</code> <span class="plaintext">identifies 
  input GrADS metacode file </span><br>
  <code>-o <i>fname</i>&nbsp;&nbsp;&nbsp;&nbsp;</code> <span class="plaintext">identifies 
  output postscript file </span><br>
  <code>-b &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code> <span class="plaintext">prints 
  black and white plot</span><br>
  <code>-c &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code> <span class="plaintext">prints 
  color plot (default)</span><br>
  <code>-r &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code> <span class="plaintext">prints 
  on a black background</span> <br>
  <code>-d &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code> <span class="plaintext">appends 
  CTRL-D to the file, useful if printing on a HP1200C/PS color printer</span><br>
  <code>-1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code> <span class="plaintext">use 
  PostScript Level 1 </span>(default)<br>
  <code>-2 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code> <span class="plaintext">use 
  PostScript Level 2 </span><br>
  <code>-a &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code> <span class="plaintext">Page 
  size A4 </span><br>
  <code>-l &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code> <span class="plaintext">Page 
  size US-Letter </span><br>
  <code>-L &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code> <span class="plaintext">Ask 
  for a label to be printed on the plot </span><br>
  <code>-n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code> <span class="plaintext">Ask 
  for a note to include in PostScript file header </span><br>
  <code>-s &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code> <span class="plaintext">Add 
  a file and time stamp on the plot.</span><br>
  <code>-v &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code> <span class="plaintext">Verbose 
  mode.</span> </ul>
<p><b>Usage Notes</b>
<ol>
  <li><span class="plaintext"> The default behaviour of <code>gxeps</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. </span>
  <li><span class="plaintext"> For more information, see the section in the User's 
    Guide on <a href="imageoutput.html">Producing Image Output from GrADS</a>. 
    </span></ol>
<p><b>Examples</b><ol><li><code>gxeps -a</code><br>
    <span class="plaintext">Prompts user for the input and output file names and 
    convert to greyscale on white background with page size A4. </span>
  <li><code>gxeps -rc -i mytest.mf -o mytest.ps</code>
<br>
    <span class="plaintext">Converts GrADS metacode format file </span><code><i>mytest.mf</i></code> 
    <span class="plaintext">to a color plot on black background and outputs the 
    result to PostScript file </span><code><i>mytest.ps</i></code>. </ol>

</body></html>