Sophie

Sophie

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

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.--><style type="text/css">
<!--
body {
	background-color: #e0f0ff;
}
-->
</style>

<h2>print</h2>
<p><code>print <em>&lt;fname&gt;</em> </code></p>
<p>If a GrADS metafile has already been opened with the <code><a href="gradcomdenableprint.html">enable print</a></code> command, then the <code>print</code> command copies the contents of the current display into the metafile. </p>
<p>If a GrADS metafile is not open, then the <code>print</code> command will create an encapsulated postscript (EPS) file based on the contents of the current display. The optional argument <code><em>fname</em></code> is the output filename (<code>grads.eps</code> by default).  </p>
<p>
<h3>Usage Notes</h3>
<p>For additional guidance on how to use the print command to create a GrADS metafile, see the notes in the documentation page for <code><a href="gradcomdenableprint.html">enable print</a></code>.</p>
<p>Using the <code>print</code> command without opening a metafile first is essentially a quick shortcut for creating an EPS file from within GrADS. It allows the user to skip the steps of creating the GrADS metafile and invoking the external utility <code><a href="gradutilgxeps.html">gxeps</a></code>. However, using this shortcut means there can only be one image per file, and none of the options available when invoking <code><a href="gradutilgxeps.html">gxeps</a></code> directly can be used -- you  get the default behavior of <code><a href="gradutilgxeps.html">gxeps</a></code> and are only allowed to specify the output filename. </p>
<h3>&nbsp;</h3>