File: node73.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 (216 lines) | stat: -rw-r--r-- 7,400 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
<!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>4.4 Perspective views</TITLE>
<META NAME="description" CONTENT="4.4 Perspective views">
<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="previous" HREF="node71.html">
<LINK REL="up" HREF="node67.html">
<LINK REL="next" HREF="node74.html">
</HEAD>

<BODY  bgcolor="#ffffff">
<!--Navigation Panel-->
<A NAME="tex2html1459"
  HREF="node74.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.gif"></A> 
<A NAME="tex2html1453"
  HREF="node67.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.gif"></A> 
<A NAME="tex2html1449"
  HREF="node72.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.gif"></A> 
<A NAME="tex2html1455"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.gif"></A> 
<A NAME="tex2html1457"
  HREF="node79.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.gif"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html1460"
  HREF="node74.html">4.4.1 Mesh-plot</A>
<B> Up:</B> <A NAME="tex2html1454"
  HREF="node67.html">4. SESSION FOUR</A>
<B> Previous:</B> <A NAME="tex2html1450"
  HREF="node72.html">4.3.1 Exercises</A>
 &nbsp <B>  <A NAME="tex2html1456"
  HREF="node1.html">Contents</A></B> 
 &nbsp <B>  <A NAME="tex2html1458"
  HREF="node79.html">Index</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->

<H1><A NAME="SECTION00640000000000000000"></A>
<A NAME="1550"></A>
<BR>
4.4 Perspective views
</H1>

<P>
Our final undertaking in this tutorial is to examine three-dimensional
perspective views.  <A NAME="tex2html269"
  HREF="http://www.soest.hawaii.edu/gmt"><B>GMT</B></A> is currently limited to vantage points at
infinity; thus we are unable to do fly-by's through canyons etc.  The
<A NAME="tex2html270"
  HREF="http://www.soest.hawaii.edu/gmt"><B>GMT</B></A> module that produces perspective views of gridded data files is
<A NAME="tex2html271"
  HREF="../grdview.html"><I><B>grdview</B></I></A><A NAME="3328"></A>.  It can make two kinds of plots:

<P>

<OL>
<LI>Mesh or wire-frame plot (with or without superimposed contours)

<P>
</LI>
<LI>Color-coded surface (with optional shading, contours, or draping).

<P>
</LI>
</OL>

<P>
Regardless of plot type, some arguments must be specified; these are

<P>

<OL>
<LI><I>relief_file</I>; a gridded data set of the surface.

<P>
</LI>
<LI><B>-J</B> for the desired map projection.

<P>
</LI>
<LI><B>-JZ</B><I>height</I> for the vertical scaling.

<P>
</LI>
<LI><B>-E</B><I>azimuth</I>/<I>elevation</I> for vantage point.

<P>
</LI>
</OL>

<P>
In addition, some options may be required:

<P>
<BR><P></P>
<DIV ALIGN="CENTER"><A NAME="1766"></A>
<TABLE>
<CAPTION><STRONG>Table 4.5:</STRONG>
The most useful options in <A NAME="tex2html266"
  HREF="../grdview.html"><I><B>grdview</B></I></A><A NAME="3350"></A></CAPTION>
<TR><TD>
<DIV ALIGN="CENTER"><TABLE CELLPADDING=3 BORDER="1">
<TR><TD ALIGN="CENTER" COLSPAN=1><FONT SIZE="-1">
<I>Option</I></FONT></TD>
<TD ALIGN="CENTER" COLSPAN=1><FONT SIZE="-1"> <I>Purpose</I></FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">   
</FONT><FONT SIZE="-1"><B>-C</B></FONT><FONT SIZE="-1"><I>cptfile</I> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> The </FONT><FONT SIZE="-1"><I>cptfile</I> is required for color -coded surfaces and for contoured mesh plots </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">  
</FONT><FONT SIZE="-1"><B>-G</B></FONT><FONT SIZE="-1"><I>drape_file</I> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> Assign colors using </FONT><FONT SIZE="-1"><I>drape_file</I> instead of </FONT><FONT SIZE="-1"><I>relief_file</I> </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">  
</FONT><FONT SIZE="-1"><B>-I</B></FONT><FONT SIZE="-1"><I>intens_file</I> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> File with illumination intensities </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">  
</FONT><FONT SIZE="-1"><B>-Qm</B> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> Selects mesh plot </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">  
</FONT><FONT SIZE="-1"><B>-Qs</B>[</FONT><FONT SIZE="-1"><B>m</B>] </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> Surface plot using polygons; append </FONT><FONT SIZE="-1"><B>m</B> to show mesh.  This option allows for </FONT><FONT SIZE="-1"><B>-W</B> </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">  
</FONT><FONT SIZE="-1"><B>-Qi</B></FONT><FONT SIZE="-1"><I>dpi</I>[</FONT><FONT SIZE="-1"><B>g</B>] </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> Image by scan-line conversion.  Specify </FONT><FONT SIZE="-1"><I>dpi</I>; append </FONT><FONT SIZE="-1"><B>g</B> to force gray-shade image.  </FONT><FONT SIZE="-1"><B>-B</B> is disabled. </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">  
</FONT><FONT SIZE="-1"><B>-W</B></FONT><FONT SIZE="-1"><I>pen</I> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> Draw contours on top of surface (except with </FONT><FONT SIZE="-1"><B>-Qi</B>) </FONT></TD>
</TR>
</TABLE><FONT SIZE="-1">

<A NAME="tbl:grdview"></A></FONT></DIV></TD></TR>
</TABLE>
</DIV><P></P>
<BR>

<P>
<BR><HR>
<!--Table of Child-Links-->
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>

<UL>
<LI><A NAME="tex2html1461"
  HREF="node74.html">4.4.1 Mesh-plot</A>
<UL>
<LI><A NAME="tex2html1462"
  HREF="node75.html">4.4.1.1 Exercises</A>
</UL>
<LI><A NAME="tex2html1463"
  HREF="node76.html">4.4.2 Color-coded view</A>
<UL>
<LI><A NAME="tex2html1464"
  HREF="node77.html">4.4.2.1 Exercises</A>
</UL></UL>
<!--End of Table of Child-Links-->
<HR>
<!--Navigation Panel-->
<A NAME="tex2html1459"
  HREF="node74.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.gif"></A> 
<A NAME="tex2html1453"
  HREF="node67.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.gif"></A> 
<A NAME="tex2html1449"
  HREF="node72.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.gif"></A> 
<A NAME="tex2html1455"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.gif"></A> 
<A NAME="tex2html1457"
  HREF="node79.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.gif"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html1460"
  HREF="node74.html">4.4.1 Mesh-plot</A>
<B> Up:</B> <A NAME="tex2html1454"
  HREF="node67.html">4. SESSION FOUR</A>
<B> Previous:</B> <A NAME="tex2html1450"
  HREF="node72.html">4.3.1 Exercises</A>
 &nbsp <B>  <A NAME="tex2html1456"
  HREF="node1.html">Contents</A></B> 
 &nbsp <B>  <A NAME="tex2html1458"
  HREF="node79.html">Index</A></B> 
<!--End of Navigation Panel-->
<ADDRESS>
Paul Wessel
2001-04-18
</ADDRESS>
</BODY>
</HTML>