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
|
<!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>5.3.1.1 Rectangular map</TITLE>
<META NAME="description" CONTENT="5.3.1.1 Rectangular map">
<META NAME="keywords" CONTENT="GMT_Docs">
<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="GMT_Docs.css">
<LINK REL="next" HREF="node48.html">
<LINK REL="previous" HREF="node46.html">
<LINK REL="up" HREF="node46.html">
<LINK REL="next" HREF="node48.html">
</HEAD>
<BODY bgcolor="#ffffff">
<!--Navigation Panel-->
<A NAME="tex2html1662"
HREF="node48.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.gif"></A>
<A NAME="tex2html1656"
HREF="node46.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.gif"></A>
<A NAME="tex2html1650"
HREF="node46.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.gif"></A>
<A NAME="tex2html1658"
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.gif"></A>
<A NAME="tex2html1660"
HREF="node149.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.gif"></A>
<BR>
<B> Next:</B> <A NAME="tex2html1663"
HREF="node48.html">5.3.1.2 Hemisphere map</A>
<B> Up:</B> <A NAME="tex2html1657"
HREF="node46.html">5.3.1 Lambert Azimuthal Equal-Area</A>
<B> Previous:</B> <A NAME="tex2html1651"
HREF="node46.html">5.3.1 Lambert Azimuthal Equal-Area</A>
  <B> <A NAME="tex2html1659"
HREF="node1.html">Contents</A></B>
  <B> <A NAME="tex2html1661"
HREF="node149.html">Index</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
<H3><A NAME="SECTION001331100000000000000">
5.3.1.1 Rectangular map</A>
</H3>
<P>
<A NAME="6773"></A>
<A NAME="6774"></A>
<P>
In this mode we define our region by specifying the
longitude/latitude of the lower left and upper right corners
instead of the usual <I>west, east, south, north</I> boundaries.
The reason for specifying our area this way is that for this
and many other projections, lines of equal longitude and
latitude are not straight lines and are thus poor choices for
map boundaries. Instead we require that the map boundaries be
rectangular by defining the corners of a rectangular map boundary.
Using 0<IMG
WIDTH="11" HEIGHT="15" ALIGN="BOTTOM" BORDER="0"
SRC="img61.gif"
ALT="$^{o}$">E/40<IMG
WIDTH="11" HEIGHT="15" ALIGN="BOTTOM" BORDER="0"
SRC="img61.gif"
ALT="$^{o}$">S (lower left) and 60<IMG
WIDTH="11" HEIGHT="15" ALIGN="BOTTOM" BORDER="0"
SRC="img61.gif"
ALT="$^{o}$">E/10<IMG
WIDTH="11" HEIGHT="15" ALIGN="BOTTOM" BORDER="0"
SRC="img61.gif"
ALT="$^{o}$">S
(upper right) as our corners we try
<P>
<P>
<BR>
<P>
<BR CLEAR="ALL">
<HR>
<BR>
<PRE>
#!/bin/sh
# $Id: GMT_lambert_az_rect.sh,v 1.1 2001/03/21 04:10:21 pwessel Exp $
#
gmtset DEGREE_FORMAT 0 GRID_CROSS_SIZE 0
pscoast -R0/-40/60/-10r -JA30/-30/4.5i -B30g30/15g15 -Dl -A500 -G200 -W0.25p -P > \
GMT_lambert_az_rect.ps
</PRE>
<P>
<BR>
<BR>
<P>
<BR CLEAR="ALL">
<HR>
<P>
<P></P>
<DIV ALIGN="CENTER"><A NAME="fig:GMT_lambert_az_rect"></A><A NAME="6858"></A>
<TABLE>
<CAPTION ALIGN="BOTTOM"><STRONG>Figure 5.9:</STRONG>
Rectangular map using the Lambert
azimuthal equal-area projection.</CAPTION>
<TR><TD><IMG
WIDTH="607" HEIGHT="374" BORDER="0"
SRC="img71.gif"
ALT="\begin{figure}\centering\epsfig{figure=eps/GMT_lambert_az_rect.eps}\end{figure}"></TD></TR>
</TABLE>
</DIV><P></P>
<P>
Note that an ``r'' is appended to the <B>-R</B> option to inform
<A NAME="tex2html312"
HREF="http://www.soest.hawaii.edu/gmt"><B>GMT</B></A> that the region has been selected using the rectangle
technique, otherwise it would try to decode the values as
<I>west, east, south, north</I> and report an error since
<I>'east'</I> <IMG
WIDTH="16" HEIGHT="29" ALIGN="MIDDLE" BORDER="0"
SRC="img42.gif"
ALT="$<$"> <I>'west'</I>.
<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html1662"
HREF="node48.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.gif"></A>
<A NAME="tex2html1656"
HREF="node46.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.gif"></A>
<A NAME="tex2html1650"
HREF="node46.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.gif"></A>
<A NAME="tex2html1658"
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.gif"></A>
<A NAME="tex2html1660"
HREF="node149.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.gif"></A>
<BR>
<B> Next:</B> <A NAME="tex2html1663"
HREF="node48.html">5.3.1.2 Hemisphere map</A>
<B> Up:</B> <A NAME="tex2html1657"
HREF="node46.html">5.3.1 Lambert Azimuthal Equal-Area</A>
<B> Previous:</B> <A NAME="tex2html1651"
HREF="node46.html">5.3.1 Lambert Azimuthal Equal-Area</A>
  <B> <A NAME="tex2html1659"
HREF="node1.html">Contents</A></B>
  <B> <A NAME="tex2html1661"
HREF="node149.html">Index</A></B>
<!--End of Navigation Panel-->
<ADDRESS>
Paul Wessel
2001-04-18
</ADDRESS>
</BODY>
</HTML>
|