| 12
 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
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 
 | <HTML>
<HEAD>
<TITLE>psxy</TITLE>
</HEAD>
<BODY>
<H1>psxy</H1>
<HR>
<PRE>
<!-- Manpage converted by man2html 3.0.1 -->
       psxy - Plot lines, polygons, and symbols on maps
</PRE>
<H2>SYNOPSIS</H2><PRE>
       <B>psxy</B>  <I>files</I> <B>-J</B><I>parameters</I> <B>-R</B><I>west/east/south/north</I>[<B>r</B>] [ <B>-A</B> ]
       [ <B>-B</B><I>tickinfo</I> ] [ <B>-C</B><I>cptfile</I> ] [ <B>-E</B>[<B>x|y|X|Y</B>][<I>cap</I>][<I>/pen</I>] ]  [
       <B>-G</B><I>fill</I>  ] [ <B>-H</B>[<I>nrec</I>] ] [ <B>-K</B> ] [ <B>-L</B> ] [ <B>-N</B> ] [ <B>-M</B>[<I>flag</I>] ] [
       <B>-O</B> ] [ <B>-P</B> ] [ <B>-S</B>[<I>symbol</I>][<I>size</I>] ] [ <B>-U</B>[<I>/dx/dy/</I>][<I>label</I>] ]  [
       <B>-V</B>  ]  [  <B>-W</B>[<I>pen</I>]  ]  [ <B>-X</B><I>x-shift</I> ] [ <B>-Y</B><I>y-shift</I> ] [ <B>-:</B> ] [
       <B>-c</B><I>copies</I> ] [ <B>-bi</B>[<B>s</B>][<I>n</I>] ]
</PRE>
<H2>DESCRIPTION</H2><PRE>
       <B>psxy</B> reads (x,y) pairs from <I>files</I> [or standard input]  and
       generates  <I>PostScript</I> code that will plot lines, polygons,
       or symbols at those locations on a map.  If  a  symbol  is
       selected  and  no symbol size given, then psxy will inter
       pret the third column of the input data  as  symbol  size.
       Symbols  whose size is <= 0 are skipped. If no symbols are
       specified then the symbol code (see <B>-S</B> below) must be pre
       sent  as  last column in the input. Multiple segment files
       may be  plotted  using  the  <B>-M</B>  option.   If  <B>-S</B>  is  not
       selected,  a line connecting the data points will be drawn
       instead. To explicitly close polygons, use  <B>-L</B>.  Select  a
       shade  with  <B>-G</B>. If <B>-G</B> is set, <B>-W</B> will control whether the
       polygon outline is drawn or not. If a symbol is  selected,
       <B>-G</B>  and  <B>-W</B>  determines the fill color and outline/no out
       line, respectively.  The <I>PostScript</I>  code  is  written  to
       standard output.
       <I>files</I>  List one or more file-names. If no files are given,
              <B>psxy</B> will read standard input.
       <B>-J</B>     Selects the map projection. Scale  is  UNIT/degree,
              1:xxxxx,  or  width  in UNIT (upper case modifier).
              UNIT is cm, inch,  or  m,  depending  on  the  MEA
              SURE_UNIT  setting in .<A HREF="gmtdefaults.html">gmtdefaults</A>, but this can be
              overridden on the command line by appending the  c,
              i, or m to the scale/width value.
              <B>CYLINDRICAL</B> <B>PROJECTIONS:</B>
              <B>-Jc</B><I>lon0/lat0/scale</I> (Cassini)
              <B>-Jj</B><I>lon0/scale</I> (Miller)
              <B>-Jm</B><I>scale</I>  (Mercator - Greenwich and Equator as ori
              gin)
              <B>-Jm</B><I>lon0/lat0/scale</I> (Mercator -  Give  meridian  and
              standard parallel)
              <B>-Joa</B><I>lon0/lat0/azimuth/scale</I>   (Oblique  Mercator  -
              point and azimuth)
              <B>-Job</B><I>lon0/lat0/lon1/lat1/scale</I> (Oblique  Mercator  -
              two points)
              <B>-Joc</B><I>lon0/lat0/lonp/latp/scale</I>  (Oblique  Mercator -
              point and pole)
              <B>-Jt</B><I>lon0/scale</I> (TM - Transverse Mercator, with Equa
              tor as y = 0)
              <B>-Jt</B><I>lon0/lat0/scale</I> (TM - Transverse  Mercator,  set
              origin)
              <B>-Ju</B><I>zone/scale</I> (UTM - Universal Transverse Mercator)
              <B>-Jy</B><I>lon0/lats/scale</I> (Basic Cylindrical Projection)
              <B>AZIMUTHAL</B> <B>PROJECTIONS:</B>
              <B>-Ja</B><I>lon0/lat0/scale</I> (Lambert).
              <B>-Je</B><I>lon0/lat0/scale</I> (Equidistant).
              <B>-Jf</B><I>lon0/lat0/horizon/scale</I> (Gnomonic).
              <B>-Jg</B><I>lon0/lat0/scale</I> (Orthographic).
              <B>-Js</B><I>lon0/lat0/</I>[<I>slat/</I>]<I>scale</I> (General Stereographic)
              <B>CONIC</B> <B>PROJECTIONS:</B>
              <B>-Jb</B><I>lon0/lat0/lat1/lat2/scale</I> (Albers)
              <B>-Jd</B><I>lon0/lat0/lat1/lat2/scale</I> (Equidistant)
              <B>-Jl</B><I>lon0/lat0/lat1/lat2/scale</I> (Lambert)
              <B>MISCELLANEOUS</B> <B>PROJECTIONS:</B>
              <B>-Jh</B><I>lon0/scale</I> (Hammer)
              <B>-Ji</B><I>lon0/scale</I> (Sinusoidal)
              <B>-Jk</B>[<B>f|s</B>]<I>lon0/scale</I> (Eckert IV (f) and VI (s))
              <B>-Jn</B><I>lon0/scale</I> (Robinson)
              <B>-Jr</B><I>lon0/scale</I> (Winkel Tripel)
              <B>-Jv</B><I>lon0/scale</I> (Van der Grinten)
              <B>-Jw</B><I>lon0/scale</I> (Mollweide)
              <B>NON-GEOGRAPHICAL</B> <B>PROJECTIONS:</B>
              <B>-Jp</B>[<B>a</B>]<I>scale</I>[<I>/origin</I>] (polar (theta,r)  coordinates,
              optional <B>a</B> for azimuths and offset theta [0])
              <B>-Jx</B><I>x-scale</I>[<B>l|p</B><I>pow</I>][<I>/y-scale</I>[<B>l|p</B><I>pow</I>]]  (Linear, log,
              and power scaling)
              More details can be found  in  the  <B><A HREF="psbasemap.html">psbasemap</A></B>  man
              pages.
       <B>-R</B>     <I>west,</I>  <I>east,</I> <I>south,</I> and <I>north</I> specify the Region of
              interest. To specify boundaries in degrees and min
              utes  [and  seconds],  use  the  dd:mm[:ss] format.
              Append <B>r</B> if lower left and upper right map  coordi
              nates are given instead of wesn.
</PRE>
<H2>OPTIONS</H2><PRE>
       No  space between the option flag and the associated argu
       ments.
       <B>-A</B>     Suppress drawing  line  segments  as  great  circle
              Arcs. [Default draws great circle arcs.]
              for details.
       <B>-C</B>     Give a color palette file. When used with -S,  lets
              symbol  color  be  determined by the z-value in the
              third column. Additional fields are shifted over by
              one  column (optional size would be 4th rather than
              3rd field, etc.).  If -S is not set,  psxy  expects
              the  user  to  supply  a  multisegment polygon file
              (requires -M) and will look for  -Z<I>val</I>  strings  in
              each  multisegment header. The <I>val</I> will control the
              color via the cpt file.
       <B>-E</B>     Draw error bars. Append  <B>x</B>  and/or  <B>y</B>  to  indicate
              which  bars you want to draw (Default is both x and
              y). The x and/or y errors must  be  stored  in  the
              columns   after   the  (x,y)  pair  [or  (x,y,size)
              triplet]. The <I>cap</I> parameter indicates the length of
              the  end-cap  on  the error bars [0.25c (or 0.1i)].
              Pen attributes for error  bars  may  also  be  set.
              [Defaults:  width  =  1,  color  = 0/0/0, texture =
              solid]. If upper case <B>X</B> and/or <B>Y</B> is  used  we  will
              instead draw "box-and-whisker" (or "stem-and-leaf")
              symbols. The x (or y) coordinate is then  taken  as
              the  median  value, and 4 more columns are expected
              to contain the minimum (0% quartile), the 25% quar
              tile, the 75% quartile, and the maximum (100% quar
              tile) values. The 25-75% box may be filled by using
              <B>-G</B>.
       <B>-G</B>     Select filling of polygons and symbols.  Append the
              shade (0-255),  color  (r/g/b),  or  <B>P</B>|<B>p</B><I>dpi</I>/<I>pattern</I>
              (polygons only) [Default is no fill].  Note when <B>-M</B>
              is chosen, <I>psxy</I> will search for <B>-G</B> and  <B>-W</B>  strings
              in  all  the  subheaders  and  let any found values
              over-ride the command line settings.
       <B>-H</B>     Input  file(s)  has  Header  record(s).  Number  of
              header records can be changed by editing your .gmt
              defaults file. If used, <B><A HREF="GMT.html">GMT</A></B>  default  is  1  header
              record.
       <B>-K</B>     More   <I>PostScript</I>   code  will  be  appended  later
              [Default terminates the plot system].
       <B>-L</B>     Force closed polygons: connect the endpoints of the
              line-segment(s) and draw polygons.
       <B>-M</B>     Multiple  segment file. Segments are separated by a
              record whose first character is <I>flag</I>.  [Default  is
              '>'].
       <B>-N</B>     Do  NOT  skip  symbols that fall outside map border
              new plot system].
       <B>-P</B>     Selects  Portrait  plotting  mode  [<B><A HREF="GMT.html">GMT</A></B>  Default is
              Landscape, see gmtdefaults to change this].
       <B>-S</B>     Plot symbols. If present, <I>size</I> is  symbol  size  in
              the  unit set in .gmtdefaults (unless <B>c</B>, <B>i</B>, <B>m</B>, or <B>p</B>
              is appended). The uppercase symbols <B>A,</B> <B>C,</B> <B>D,</B> <B>H,</B>  <B>I,</B>
              <B>S,</B>  <B>T</B>  are  normalized to have the same area as the
              circle, while the corresponding  lowercase  symbols
              all   are  circumscribed  by  the  circle.   Choose
              between these symbol codes:
       <B>-S</B>     Read symbol code (see below) from  last  column  in
              the  input data. Cannot be used in conjunction with
              <B>-b</B>. Optionally, append <B>c</B>, <B>i</B>, <B>m</B>, <B>p</B> to indicate  that
              the  size information in the input data is in units
              of  cm,  inch,  meter,  or   point,   respectively.
              [Default is MEASURE_UNIT].
       <B>-Sa</B>    st<B>a</B>r. <I>size</I> is diameter of circumscribing circle.
       <B>-Sb</B>    <B>b</B>ar  extending  from  <I>base</I> to y. <I>size</I> is bar width.
              Append <B>u</B> if <I>size</I> is in x-units  [Default  is  plot-
              distance units]. By default, <I>base</I> = 0. Append <B>b</B><I>base</I>
              to change this value.
       <B>-Sc</B>    <B>c</B>ircle. <I>size</I> is diameter of circle.
       <B>-Sd</B>    <B>d</B>iamond. <I>size</I> is diameter of circumscribing circle.
       <B>-Se</B>    <B>e</B>llipse.  Direction  (in  degrees counter-clockwise
              from horizontal), major_axis, and  minor_axis  must
              be found in columns 3, 4, and 5.
       <B>-SE</B>    Same  as  <B>-Se</B>,  except  azimuth (in degrees east of
              north) should be given instead  of  direction.  The
              azimuth  will  be mapped into an angle based on the
              chosen map projection (<B>-Se</B>  leaves  the  directions
              unchanged.)  Furthermore,  the axes lengths must be
              given in km instead of plot-distance units.
       <B>-Sf</B>    <B>f</B>ront. <B>-Sf</B><I>gap/size</I>[<I>dir</I>][<I>type</I>][:<I>offset</I>]. Supply dis
              tance  gap between symbols and symbol size.  If <I>gap</I>
              is negative, it is interpreted to mean  the  number
              of  symbols  along the front instead. Append <I>dir</I> to
              plot symbols on the <B>l</B>eft or <B>r</B>ight side of the front
              [Default is centered]. Append <I>type</I> to specify which
              symbol to plot: <B>b</B>ox, <B>c</B>ircle, <B>f</B>ault, <B>s</B>lip, or <B>t</B>rian
              gle.  [Default  is fault].  Slip means left-lateral
              or right-lateral strike-slip  arrows  (centered  is
              not  an option). Append :<I>offset</I> to offset the first
       <B>-Sh</B>    <B>h</B>exagon. <I>size</I> is diameter of circumscribing circle.
       <B>-Si</B>    <B>i</B>nverted triangle. <I>size</I> is diameter of circumscrib
              ing circle.
       <B>-Sl</B>    <B>l</B>etter  or  text  string (less than 64 characters).
              Give size, and append /<I>string</I> after the size.  Note
              that  the  size  is only approximate; no individual
              scaling is done for different characters.  Remember
              to  escape  special  characters like *. Optionally,
              you may append %<I>font</I> to select  a  particular  font
              [Default is ANOT_FONT].
       <B>-Sp</B>    <B>p</B>oint.  No  size  needs to be specified (1 pixel is
              used).
       <B>-Ss</B>    <B>s</B>quare. <I>size</I> is diameter of circumscribing  circle.
       <B>-St</B>    <B>t</B>riangle.  <I>size</I>  is diameter of circumscribing cir
              cle.
       <B>-Sv</B>    <B>v</B>ector.  Direction  (in  degrees  counter-clockwise
              from  horizontal)  and  length  must  be  found  in
              columns 3 and 4. <I>size</I>, if present, will  be  inter
              preted  as arrowwidth/headlength/headwidth [Default
              is 0.075<B>c</B>/0.3<B>c</B>/0.25<B>c</B>  (or  0.03<B>i</B>/0.12<B>i</B>/0.1<B>i</B>)].   By
              default  arrow  attributes remains invariant to the
              length of the arrow. To have the size of the vector
              scale  down  with  decreasing  size,  append <B>n</B><I>norm</I>,
              where vectors shorter than  <I>norm</I>  will  have  their
              attributes scaled by length/<I>norm</I>.
       <B>-SV</B>    Same  as  <B>-Sv</B>,  except  azimuth (in degrees east of
              north) should be given instead  of  direction.  The
              azimuth  will  be mapped into an angle based on the
              chosen map projection (<B>-Sv</B>  leaves  the  directions
              unchanged.)
       <B>-Sw</B>    pie  <B>w</B>edge.  Start  and stop directions (in degrees
              counter-clockwise from horizontal)  for  pie  slice
              must be found in columns 3 and 4.
       <B>-Sx</B>    cross. <I>size</I> is diameter of circumscribing circle.
       <B>-U</B>     Draw Unix System time stamp on plot. User may spec
              ify where the lower left corner of the stamp should
              fall  on  the page relative to lower left corner of
              plot. Optionally, append a label, or <B>c</B> (which  will
              plot  the  command  string.).  The  GMT  parameters
              UNIX_TIME and UNIX_TIME_POS can affect the  appear
              ance; see the <B><A HREF="gmtdefaults.html">gmtdefaults</A></B> man page for details.
              reports to stderr [Default runs "silently"].
       <B>-W</B>     Set pen attributes. [Defaults: width = 1,  color  =
              0/0/0, texture = solid].  Implicitly draws the out
              line of symbols with selected pen.
       <B>-X</B> <B>-Y</B>  Shift origin of plot by (<I>x-shift,y-shift</I>).  Prepend
              <B>a</B>  for  absolute  coordinates; the default (<B>r</B>) will
              reset plot origin.
       <B>-:</B>     Toggles  between  (longitude,latitude)  and  (lati
              tude,longitude)  input/output.  [Default is (longi
              tude,latitude)].  Applies to geographic coordinates
              only.
       <B>-c</B>     Specifies the number of plot copies. [Default is 1]
       <B>-bi</B>    Selects binary input. Append <B>s</B> for single precision
              [Default  is  double].   Append <I>n</I> for the number of
              columns in the binary  file(s).   [Default  is  the
              required  number  of  columns given the chosen set
              tings].
</PRE>
<H2>EXAMPLES</H2><PRE>
       To plot solid red circles (diameter  =  0.25  cm)  at  the
       positions  listed in the file DSDP.xy on a Mercator map at
       5 cm/degree of the area 150E to 154E,  18N  to  23N,  with
       tickmarks  every  1 degree and gridlines every 15 minutes,
       try:
       psxy  DSDP.xy  <B>-R</B>150/154/18/23  <B>-Jm</B>5<B>c</B>  <B>-Sc</B>0.25<B>c</B>  <B>-G</B>255/0/0
       <B>-B</B>1<B>g</B>15<B>m</B> | lpr
       To  plot the xyz values in the file quakes.xyzm as circles
       with size given by the magnitude in  the  4th  column  and
       color  based  on  the  depth  in the third using the color
       palette cpt on a linear map, try
       psxy quakes.xyzm <B>-R</B>0/1000/0/1000 <B>-JX</B>6<B>i</B> <B>-Sc</B> <B>-C</B>cpt  <B>-B</B>200  >
       map.ps
       To  plot  the file trench.xy on a Mercator map, with white
       triangles with sides 0.25 inch on the  left  side  of  the
       line, spaced every 0.8 inch, use
       psxy  trench.xy  <B>-R</B>150/200/20/50  <B>-Jm</B>0.15<B>i</B>  <B>-Sf</B>0.8<B>i</B>/0.1<B>ilt</B>
       <B>-G</B>255 <B>-W</B> <B>-B</B>10 | lpr br
       To plot the data in the file misc.d as symbols  determined
       by the code in the last column, and with size given by the
       magnitude in the 4th column, and color based on the  third
       column via the color palette cpt on a linear map, try
</PRE>
<H2>BUGS</H2><PRE>
       The  <B>-N</B> option does not adjust the BoundingBox information
       so you may have to post-process the PostScript outout with
       epstool or ps2epsi to obtain a correct BoundingBox.
       <B>psxy</B>  cannot  handle  filling of polygons that contain the
       south or north pole. For such a polygon, make a  copy  and
       split  it  into  two  and make each explicitly contain the
       polar point. The two polygons will  combine  to  give  the
       desired effect when filled; to draw outline use the origi
       nal polygon.
</PRE>
<H2>SEE ALSO</H2><PRE>
       <I>gmt</I>(l), <I><A HREF="psbasemap.html">psbasemap</A></I>(l), <I>psxyz</I>(l)
</PRE>
<HR>
<ADDRESS>
Man(1) output converted with
<a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>
</ADDRESS>
</BODY>
</HTML>
<body bgcolor="#ffffff">
 |