Sophie

Sophie

distrib > Fedora > 14 > x86_64 > media > os > by-pkgid > 4b194777eaf705e440bb2ce282d32772 > files > 719

GMT-doc-4.5.3-3.fc14.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<!--Converted with LaTeX2HTML 2002-2-1 (1.71)
original version by:  Nikos Drakos, CBLU, University of Leeds
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>4.4.6 Plot overlays: The -K -O options</TITLE>
<META NAME="description" CONTENT="4.4.6 Plot overlays: The -K -O options">
<META NAME="keywords" CONTENT="GMT_Docs">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">

<META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">

<LINK REL="STYLESHEET" HREF="GMT_Docs.css">

<LINK REL="next" HREF="node49.html">
<LINK REL="previous" HREF="node47.html">
<LINK REL="up" HREF="node37.html">
<LINK REL="next" HREF="node49.html">
</HEAD>

<BODY  bgcolor="#ffffff">
<!--Navigation Panel-->
<A NAME="tex2html3234"
  HREF="node49.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html3228"
  HREF="node37.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html3222"
  HREF="node47.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html3230"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html3232"
  HREF="node256.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html3235"
  HREF="node49.html">4.4.7 Timestamps on plots:</A>
<B> Up:</B> <A NAME="tex2html3229"
  HREF="node37.html">4.4 Standardized command line</A>
<B> Previous:</B> <A NAME="tex2html3223"
  HREF="node47.html">4.4.5 Portrait plot orientation:</A>
 &nbsp; <B>  <A NAME="tex2html3231"
  HREF="node1.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html3233"
  HREF="node256.html">Index</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->

<H2><A NAME="SECTION001246000000000000000">
4.4.6 Plot overlays: The <B>-K</B> <B>-O</B> options</A>
</H2>
<A NAME="18674"></A>
<A NAME="18675"></A>
<A NAME="18676"></A>
<A NAME="18677"></A>
<A NAME="18678"></A>

<P>

<DIV ALIGN="CENTER"><A NAME="fig:GMT_-OK"></A><A NAME="19133"></A>
<TABLE>
<CAPTION ALIGN="BOTTOM"><STRONG>Figure 4.19:</STRONG>
A final <I>PostScript</I> file consists of any number of individual pieces.</CAPTION>
<TR><TD>
<DIV ALIGN="CENTER"><IMG
 WIDTH="670" HEIGHT="271" ALIGN="BOTTOM" BORDER="0"
 SRC="img62.png"
 ALT="\includegraphics{scripts/GMT_-OK}"></DIV></TD></TR>
</TABLE>
</DIV>

<P>
The <B>-K</B> and <B>-O</B> options control the generation of <I>PostScript</I> code for multiple
overlay plots.  All <I>PostScript</I> files must have a header (for initializations),
a body (drawing the figure), and a trailer (printing it out) (see
Figure&nbsp;<A HREF="#fig:GMT_-OK">4.19</A>).  Thus,
when overlaying several <A NAME="tex2html1135"
  HREF="http://gmt.soest.hawaii.edu"><B>GMT</B></A> plots we must make sure that the first plot
call omits the trailer, that all intermediate calls omit both header and
trailer, and that the final overlay omits the header.
<B>-K</B> omits the trailer which implies that more <I>PostScript</I> code will be appended
later [Default terminates the plot system].  <B>-O</B> selects Overlay plot
mode and omits the header information [Default initializes a new plot system].
Most unexpected results for multiple overlay plots can be traced to the
incorrect use of these options.  If you run only one plot
program, ignore both the <B>-O</B> and <B>-K</B> options; they are
only used when stacking plots. 

<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html3234"
  HREF="node49.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html3228"
  HREF="node37.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html3222"
  HREF="node47.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html3230"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A> 
<A NAME="tex2html3232"
  HREF="node256.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.png"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html3235"
  HREF="node49.html">4.4.7 Timestamps on plots:</A>
<B> Up:</B> <A NAME="tex2html3229"
  HREF="node37.html">4.4 Standardized command line</A>
<B> Previous:</B> <A NAME="tex2html3223"
  HREF="node47.html">4.4.5 Portrait plot orientation:</A>
 &nbsp; <B>  <A NAME="tex2html3231"
  HREF="node1.html">Contents</A></B> 
 &nbsp; <B>  <A NAME="tex2html3233"
  HREF="node256.html">Index</A></B> 
<!--End of Navigation Panel-->
<ADDRESS>
Paul Wessel
2010-07-14
</ADDRESS>
</BODY>
</HTML>