File: node29.html

package info (click to toggle)
gmt-doc 3.4-1.1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,756 kB
  • ctags: 1,800
  • sloc: makefile: 30
file content (136 lines) | stat: -rw-r--r-- 5,014 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<!--Converted with LaTeX2HTML 99.2beta8 (1.46)
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>1.6.5 The -K -O options</TITLE>
<META NAME="description" CONTENT="1.6.5 The -K -O options">
<META NAME="keywords" CONTENT="tutorial">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="LaTeX2HTML v99.2beta8">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">

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

<LINK REL="next" HREF="node30.html">
<LINK REL="previous" HREF="node28.html">
<LINK REL="up" HREF="node22.html">
<LINK REL="next" HREF="node30.html">
</HEAD>

<BODY  bgcolor="#ffffff">
<!--Navigation Panel-->
<A NAME="tex2html822"
  HREF="node30.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.gif"></A> 
<A NAME="tex2html816"
  HREF="node22.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.gif"></A> 
<A NAME="tex2html810"
  HREF="node28.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.gif"></A> 
<A NAME="tex2html818"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.gif"></A> 
<A NAME="tex2html820"
  HREF="node79.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.gif"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html823"
  HREF="node30.html">1.6.6 The -P option</A>
<B> Up:</B> <A NAME="tex2html817"
  HREF="node22.html">1.6 GMT Common Command</A>
<B> Previous:</B> <A NAME="tex2html811"
  HREF="node28.html">1.6.4 The -J? options</A>
 &nbsp <B>  <A NAME="tex2html819"
  HREF="node1.html">Contents</A></B> 
 &nbsp <B>  <A NAME="tex2html821"
  HREF="node79.html">Index</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->

<H2><A NAME="SECTION00365000000000000000">
1.6.5 The <B>-K</B> <B>-O</B> options</A>
</H2>
<A NAME="1685"></A>
<A NAME="1686"></A>
<A NAME="448"></A>
<A NAME="449"></A>

<P>

<P></P>
<DIV ALIGN="CENTER"><A NAME="fig:GMT_-H"></A><A NAME="fig:GMT_-OK"></A><A NAME="1687"></A>
<TABLE>
<CAPTION ALIGN="BOTTOM"><STRONG>Figure 1.10:</STRONG>
(left) Input files may have an arbitrary number of header records,
specified with <B>-H</B>.
(right) A final <I>PostScript</I> file consists of a stack of individual pieces</CAPTION>
<TR><TD><IMG
 WIDTH="503" HEIGHT="232" BORDER="0"
 SRC="img26.gif"
 ALT="\begin{figure}\centering\begin{tabular}{cc}
\epsfig{figure=eps/GMT_-H.eps}&amp; \epsfig{figure=eps/GMT_-OK.eps}\\
\end{tabular}\end{figure}"></TD></TR>
</TABLE>
</DIV><P></P>

<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="node29.html#fig:GMT_-OK">1.10</A>).  Thus,
when overlaying several <A NAME="tex2html117"
  HREF="http://www.soest.hawaii.edu/gmt"><B>GMT</B></A> plots we must make sure that the first plot
call ommits 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 ommits 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.

<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html822"
  HREF="node30.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.gif"></A> 
<A NAME="tex2html816"
  HREF="node22.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.gif"></A> 
<A NAME="tex2html810"
  HREF="node28.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.gif"></A> 
<A NAME="tex2html818"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.gif"></A> 
<A NAME="tex2html820"
  HREF="node79.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.gif"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html823"
  HREF="node30.html">1.6.6 The -P option</A>
<B> Up:</B> <A NAME="tex2html817"
  HREF="node22.html">1.6 GMT Common Command</A>
<B> Previous:</B> <A NAME="tex2html811"
  HREF="node28.html">1.6.4 The -J? options</A>
 &nbsp <B>  <A NAME="tex2html819"
  HREF="node1.html">Contents</A></B> 
 &nbsp <B>  <A NAME="tex2html821"
  HREF="node79.html">Index</A></B> 
<!--End of Navigation Panel-->
<ADDRESS>
Paul Wessel
2001-04-18
</ADDRESS>
</BODY>
</HTML>