File: node36.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 (183 lines) | stat: -rw-r--r-- 5,656 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
<!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.1.1 Cartesian Linear Projection (-Jx -JX)</TITLE>
<META NAME="description" CONTENT="5.1.1 Cartesian Linear Projection (-Jx -JX)">
<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="node37.html">
<LINK REL="previous" HREF="node35.html">
<LINK REL="up" HREF="node35.html">
<LINK REL="next" HREF="node37.html">
</HEAD>

<BODY  bgcolor="#ffffff">
<!--Navigation Panel-->
<A NAME="tex2html1497"
  HREF="node37.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.gif"></A> 
<A NAME="tex2html1491"
  HREF="node35.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.gif"></A> 
<A NAME="tex2html1485"
  HREF="node35.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.gif"></A> 
<A NAME="tex2html1493"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.gif"></A> 
<A NAME="tex2html1495"
  HREF="node149.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.gif"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html1498"
  HREF="node37.html">5.1.2 Logarithmic projection</A>
<B> Up:</B> <A NAME="tex2html1492"
  HREF="node35.html">5.1 Non-map Projections</A>
<B> Previous:</B> <A NAME="tex2html1486"
  HREF="node35.html">5.1 Non-map Projections</A>
 &nbsp <B>  <A NAME="tex2html1494"
  HREF="node1.html">Contents</A></B> 
 &nbsp <B>  <A NAME="tex2html1496"
  HREF="node149.html">Index</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->

<H2><A NAME="SECTION001311000000000000000"></A>
<A NAME="5797"></A>
<A NAME="5798"></A>
<A NAME="5799"></A>
<A NAME="5800"></A>
<BR>
5.1.1 Cartesian Linear Projection (<B>-Jx</B> <B>-JX</B>)
</H2>
<A NAME="5815"></A>

<P>
Selection of this transformation will result in a linear scaling
of the input coordinates.  The projection is defined by stating 
<BR>
<P>
<IMG
 WIDTH="12" HEIGHT="13" ALIGN="BOTTOM" BORDER="0"
 SRC="img54.gif"
 ALT="$\bullet$"> scale in inches/unit (<B>-Jx</B>) or axis
length in inches (<B>-JX</B>) 
<BR>
<P>
If the <I>y</I>-scale or <I>y</I>-axis length is different from that of
the <I>x</I>-axis (which is most often the case), separate the two
scales (or lengths) by a slash, e.g., <B>-Jx</B>0.1i/0.5i or <B>-JX</B>8i/5i. 
Thus, our <IMG
 WIDTH="51" HEIGHT="33" ALIGN="MIDDLE" BORDER="0"
 SRC="img55.gif"
 ALT="$y = \sqrt{x}$"> data sets will plot as shown
in Figure&nbsp;<A HREF="node36.html#fig:GMT_linear">5.1</A>.

<P>

<P></P>
<DIV ALIGN="CENTER"><A NAME="fig:GMT_linear"></A><A NAME="5826"></A>
<TABLE>
<CAPTION ALIGN="BOTTOM"><STRONG>Figure 5.1:</STRONG>
Linear transformation of coordinates</CAPTION>
<TR><TD><IMG
 WIDTH="392" HEIGHT="210" BORDER="0"
 SRC="img56.gif"
 ALT="\begin{figure}\centering\epsfig{figure=eps/GMT_linear.eps}\end{figure}"></TD></TR>
</TABLE>
</DIV><P></P>

<P>
The complete commands given to produce this plot were 

<P>

<P>

<BR>

<P>
<BR CLEAR="ALL">
<HR>
<BR>
<PRE>
#!/bin/sh
#    $Id: GMT_linear.sh,v 1.1 2001/03/21 04:10:21 pwessel Exp $
#

psxy -R0/100/0/10 -JX3i/1.5i -Ba20f10g10/a2f1g2WSne -W1t3_3:0p -P -K sqrt.d &gt; GMT_linear.ps
psxy -R -JX -St0.075i -G200 -W -O sqrt.d10 &gt;&gt; GMT_linear.ps
</PRE>

<P>
<BR>

<BR>

<P>
<BR CLEAR="ALL">
<HR>
<P>
Normally, the user's <I>x</I>-values will increase to the right
and the <I>y</I>-values will increase upwards.  It should be noted
that in many situations it is desirable to have the direction of
positive coordinates be reversed.  For example, when plotting
depth on the <I>y</I>-axis it makes more sense to have the positive
direction downwards.  All that is required to reverse the sense of
positive direction is to supply a negative scale (or axis length).
<A NAME="5896"></A>
<A NAME="5897"></A>
<A NAME="5898"></A>
<A NAME="5899"></A>

<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html1497"
  HREF="node37.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.gif"></A> 
<A NAME="tex2html1491"
  HREF="node35.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.gif"></A> 
<A NAME="tex2html1485"
  HREF="node35.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.gif"></A> 
<A NAME="tex2html1493"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.gif"></A> 
<A NAME="tex2html1495"
  HREF="node149.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.gif"></A> 
<BR>
<B> Next:</B> <A NAME="tex2html1498"
  HREF="node37.html">5.1.2 Logarithmic projection</A>
<B> Up:</B> <A NAME="tex2html1492"
  HREF="node35.html">5.1 Non-map Projections</A>
<B> Previous:</B> <A NAME="tex2html1486"
  HREF="node35.html">5.1 Non-map Projections</A>
 &nbsp <B>  <A NAME="tex2html1494"
  HREF="node1.html">Contents</A></B> 
 &nbsp <B>  <A NAME="tex2html1496"
  HREF="node149.html">Index</A></B> 
<!--End of Navigation Panel-->
<ADDRESS>
Paul Wessel
2001-04-18
</ADDRESS>
</BODY>
</HTML>