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 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 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577
|
<!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>2.1 General Information</TITLE>
<META NAME="description" CONTENT="2.1 General Information">
<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="node56.html">
<LINK REL="previous" HREF="node49.html">
<LINK REL="up" HREF="node49.html">
<LINK REL="next" HREF="node51.html">
</HEAD>
<BODY bgcolor="#ffffff">
<!--Navigation Panel-->
<A NAME="tex2html1124"
HREF="node51.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.gif"></A>
<A NAME="tex2html1118"
HREF="node49.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.gif"></A>
<A NAME="tex2html1112"
HREF="node49.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.gif"></A>
<A NAME="tex2html1120"
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.gif"></A>
<A NAME="tex2html1122"
HREF="node79.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.gif"></A>
<BR>
<B> Next:</B> <A NAME="tex2html1125"
HREF="node51.html">2.1.1 Specifying pen attributes</A>
<B> Up:</B> <A NAME="tex2html1119"
HREF="node49.html">2. SESSION TWO</A>
<B> Previous:</B> <A NAME="tex2html1113"
HREF="node49.html">2. SESSION TWO</A>
  <B> <A NAME="tex2html1121"
HREF="node1.html">Contents</A></B>
  <B> <A NAME="tex2html1123"
HREF="node79.html">Index</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
<H1><A NAME="SECTION00410000000000000000">
2.1 General Information</A>
</H1>
<P>
There are 17 <A NAME="tex2html163"
HREF="http://www.soest.hawaii.edu/gmt"><B>GMT</B></A> programs that directly create or modify
plots (Table <A HREF="node50.html#tbl:plotprogs">2.1</A>); the remaining 43 are mostly concerned with data
processing. This session will focus on the task of plotting
lines, symbols, and text on maps. We will build on the skills
we acquired while familiarizing ourselves with the various
<A NAME="tex2html164"
HREF="http://www.soest.hawaii.edu/gmt"><B>GMT</B></A> map projections as well as how to select a data domain
and boundary annotations.
<P>
<BR><P></P>
<DIV ALIGN="CENTER"><A NAME="725"></A>
<TABLE>
<CAPTION><STRONG>Table 2.1:</STRONG>
List of all 1-D and 2-D plotting programs in <A NAME="tex2html153"
HREF="http://www.soest.hawaii.edu/gmt"><B>GMT</B></A></CAPTION>
<TR><TD>
<DIV ALIGN="CENTER"><TABLE CELLPADDING=3 BORDER="1">
<TR><TD ALIGN="CENTER" COLSPAN=1><FONT SIZE="-1">
<I>Program</I></FONT></TD>
<TD ALIGN="CENTER" COLSPAN=1><FONT SIZE="-1"> <I>Purpose</I></FONT></TD>
</TR>
<TR><TD ALIGN="CENTER" COLSPAN=2><FONT SIZE="-1">
<I>BASEMAPS</I></FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
<A NAME="tex2html136"
HREF="../psbasemap.html"><I><B>psbasemap</B></I></A><A NAME="2434"></A> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> Create an empty basemap frame with optional scale </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
<A NAME="tex2html137"
HREF="../pscoast.html"><I><B>pscoast</B></I></A><A NAME="2443"></A> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> Plot coastlines, filled continents, rivers, and political borders </FONT></TD>
</TR>
<TR><TD ALIGN="CENTER" COLSPAN=2><FONT SIZE="-1">
<I>POINTS AND LINES</I></FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
<A NAME="tex2html138"
HREF="../pswiggle.html"><I><B>pswiggle</B></I></A><A NAME="2452"></A> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> Draw spatial time-series along their <IMG
WIDTH="37" HEIGHT="31" ALIGN="MIDDLE" BORDER="0"
SRC="img36.gif"
ALT="$(x,y)$">-tracks </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
<A NAME="tex2html139"
HREF="../psxy.html"><I><B>psxy</B></I></A><A NAME="2461"></A> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> Plot symbols, polygons, and lines in 2-D </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
<A NAME="tex2html140"
HREF="../psxyz.html"><I><B>psxyz</B></I></A><A NAME="2470"></A> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> Plot symbols, polygons, and lines in 3-D </FONT></TD>
</TR>
<TR><TD ALIGN="CENTER" COLSPAN=2><FONT SIZE="-1">
<I>HISTOGRAMS</I></FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
<A NAME="tex2html141"
HREF="../pshistogram.html"><I><B>pshistogram</B></I></A><A NAME="2479"></A> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> Plot a rectangular histogram </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
<A NAME="tex2html142"
HREF="../psrose.html"><I><B>psrose</B></I></A><A NAME="2488"></A> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> Plot a polar histogram(sector/rose diagram) </FONT></TD>
</TR>
<TR><TD ALIGN="CENTER" COLSPAN=2><FONT SIZE="-1">
<I>CONTOURS</I></FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
<A NAME="tex2html143"
HREF="../grdcontour.html"><I><B>grdcontour</B></I></A><A NAME="2497"></A> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> Contouring of 2-D gridded data sets </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
<A NAME="tex2html144"
HREF="../pscontour.html"><I><B>pscontour</B></I></A><A NAME="2506"></A> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> Direct contouring or imaging of <IMG
WIDTH="25" HEIGHT="29" ALIGN="MIDDLE" BORDER="0"
SRC="img37.gif"
ALT="$xyz$"> data by optimal triangulation </FONT></TD>
</TR>
<TR><TD ALIGN="CENTER" COLSPAN=2><FONT SIZE="-1">
<I>SURFACES</I></FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
<A NAME="tex2html145"
HREF="../grdimage.html"><I><B>grdimage</B></I></A><A NAME="2515"></A> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> Produce color images from 2-D gridded data </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
<A NAME="tex2html146"
HREF="../grdvector.html"><I><B>grdvector</B></I></A><A NAME="2524"></A> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> Plot vector fields from 2-D gridded data </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
<A NAME="tex2html147"
HREF="../grdview.html"><I><B>grdview</B></I></A><A NAME="2533"></A> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> 3-D perspective imaging of 2-D gridded data </FONT></TD>
</TR>
<TR><TD ALIGN="CENTER" COLSPAN=2><FONT SIZE="-1">
<I>UTILITIES</I></FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
<A NAME="tex2html148"
HREF="../psclip.html"><I><B>psclip</B></I></A><A NAME="2542"></A> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> Use polygon files to initiate custom clipping paths </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
<A NAME="tex2html149"
HREF="../psimage.html"><I><B>psimage</B></I></A><A NAME="2551"></A> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> Plot Sun rasterfiles </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
<A NAME="tex2html150"
HREF="../psmask.html"><I><B>psmask</B></I></A><A NAME="2560"></A> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> Create clipping paths or generate overlay to mask </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
<A NAME="tex2html151"
HREF="../psscale.html"><I><B>psscale</B></I></A><A NAME="2569"></A> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> Plot grayscale or colorscale bar </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
<A NAME="tex2html152"
HREF="../pstext.html"><I><B>pstext</B></I></A><A NAME="2578"></A> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> Plot textstrings on maps </FONT></TD>
</TR>
</TABLE><FONT SIZE="-1">
<A NAME="tbl:plotprogs"></A></FONT></DIV></TD></TR>
</TABLE>
</DIV><P></P>
<BR>
<P>
Plotting lines and symbols, <A NAME="tex2html165"
HREF="../psxy.html"><I><B>psxy</B></I></A><A NAME="2590"></A> is one of the most frequently
used programs in <A NAME="tex2html166"
HREF="http://www.soest.hawaii.edu/gmt"><B>GMT</B></A>. In addition to the common command line switches
it has numerous specific options, and expects different file formats
depending on what symbol has been selected. These circumstances makes
<A NAME="tex2html167"
HREF="../psxy.html"><I><B>psxy</B></I></A><A NAME="2602"></A> harder to master than most <A NAME="tex2html168"
HREF="http://www.soest.hawaii.edu/gmt"><B>GMT</B></A> tools. Table <A HREF="node50.html#tbl:psxy">2.2</A>
shows a complete list of the options.
<P>
<BR><P></P>
<DIV ALIGN="CENTER"><A NAME="1723"></A>
<TABLE>
<CAPTION><STRONG>Table 2.2:</STRONG>
Optional switches in the <A NAME="tex2html156"
HREF="../psxy.html"><I><B>psxy</B></I></A><A NAME="2623"></A> program</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>-A</B> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> Suppress line interpolation along great circles </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT><FONT SIZE="-1"><B>-C</B></FONT><FONT SIZE="-1"><I>cpt</I> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> Let symbol color be determined from <IMG
WIDTH="10" HEIGHT="29" ALIGN="MIDDLE" BORDER="0"
SRC="img38.gif"
ALT="$z$">-values and the </FONT><FONT SIZE="-1"><I>cpt</I> file </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT><FONT SIZE="-1"><B>-E</B>[</FONT><FONT SIZE="-1"><B>x</B><IMG
WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0"
SRC="img1.gif"
ALT="$\vert$"></FONT><FONT SIZE="-1"><B>X</B>][</FONT><FONT SIZE="-1"><B>y</B><IMG
WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0"
SRC="img1.gif"
ALT="$\vert$"></FONT><FONT SIZE="-1"><B>Y</B>][</FONT><FONT SIZE="-1"><I>cap</I>][/</FONT><FONT SIZE="-1"><I>pen</I>] </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> Draw selected error bars with specified attributes </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT><FONT SIZE="-1"><B>-G</B></FONT><FONT SIZE="-1"><I>fill</I> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> Set color for symbol or fill for polygons </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT><FONT SIZE="-1"><B>-L</B> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> Explicitly close polygons </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT><FONT SIZE="-1"><B>-M</B>[</FONT><FONT SIZE="-1"><I>flag</I>] </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> Multiple segment input data; headers start with </FONT><FONT SIZE="-1"><I>flag</I> </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT><FONT SIZE="-1"><B>-N</B> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> Do Not clip symbols at map borders </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT><FONT SIZE="-1"><B>-S[symbol]</B>[</FONT><FONT SIZE="-1"><I>size</I>] </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> Select one of 16 symbols (See Table <A HREF="node50.html#tbl:psxysymbols">2.3</A>) </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"> Set </FONT><FONT SIZE="-1"><I>pen</I> for line or symbol outline </FONT></TD>
</TR>
</TABLE><FONT SIZE="-1">
<A NAME="tbl:psxy"></A></FONT></DIV></TD></TR>
</TABLE>
</DIV><P></P>
<BR>
<P>
The symbols can either be transparent (using <B>-W</B> only, not <B>-G</B>)
or solid (<B>-G</B>, with optional outline using <B>-W</B>). The <B>-S</B>
option takes the code for the desired symbol and optional size information.
If no symbol is given it is expected to be in the last column of the input
file. The size is optional since individual sizes for
symbols may be provided by the input data. The 15 symbols available to
us are
<P>
<BR><P></P>
<DIV ALIGN="CENTER"><A NAME="1726"></A>
<TABLE>
<CAPTION><STRONG>Table 2.3:</STRONG>
The symbol option in <A NAME="tex2html159"
HREF="../psxy.html"><I><B>psxy</B></I></A><A NAME="2654"></A>. Lower case symbols (<B>a, c, d, h, i, s, t, x</B>)
will fit inside a circle of given diameter. Upper case symbols (<B>A, C, D, H, I, S, T, X</B>) will have area equal to that of a circle of given diameter.</CAPTION>
<TR><TD><A NAME="774"></A>
<A NAME="775"></A>
<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>Symbol</I></FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT><FONT SIZE="-1"><B>-Sa</B></FONT><FONT SIZE="-1"><I>size</I> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> st</FONT><FONT SIZE="-1"><B>a</B>r; </FONT><FONT SIZE="-1"><I>size</I> is radius of circumscribing circle </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT><FONT SIZE="-1"><B>-Sb</B></FONT><FONT SIZE="-1"><I>size</I>[/</FONT><FONT SIZE="-1"><I>base</I>][</FONT><FONT SIZE="-1"><B>u</B>] </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> </FONT><FONT SIZE="-1"><B>b</B>ar; </FONT><FONT SIZE="-1"><I>size</I> is bar width, append </FONT><FONT SIZE="-1"><B>u</B> if </FONT><FONT SIZE="-1"><I>size</I> is in </FONT><FONT SIZE="-1"><I>x</I>-units </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> Bar extends from </FONT><FONT SIZE="-1"><I>base</I> [0] to the </FONT><FONT SIZE="-1"><I>y</I>-value </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT><FONT SIZE="-1"><B>-Sc</B></FONT><FONT SIZE="-1"><I>size</I> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> </FONT><FONT SIZE="-1"><B>c</B>ircle; </FONT><FONT SIZE="-1"><I>size</I> is the diameter </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT><FONT SIZE="-1"><B>-Sd</B></FONT><FONT SIZE="-1"><I>size</I> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> </FONT><FONT SIZE="-1"><B>d</B>iamond; </FONT><FONT SIZE="-1"><I>size</I> is its side </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT><FONT SIZE="-1"><B>-Se</B> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> </FONT><FONT SIZE="-1"><B>e</B>llipse; </FONT><FONT SIZE="-1"><I>direction</I> (CCW from horizontal), </FONT><FONT SIZE="-1"><I>major</I>, and </FONT><FONT SIZE="-1"><I>minor</I> axes in inches </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> are read from the input file </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT><FONT SIZE="-1"><B>-SE</B> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> </FONT><FONT SIZE="-1"><B>e</B>llipse; </FONT><FONT SIZE="-1"><I>azimuth</I> (CW from vertical), </FONT><FONT SIZE="-1"><I>major</I>, and </FONT><FONT SIZE="-1"><I>minor</I> axes in kilometers </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> are read from the input file</FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT><FONT SIZE="-1"><B>-Sf</B></FONT><FONT SIZE="-1"><I>gap</I>/</FONT><FONT SIZE="-1"><I>tick</I>[</FONT><FONT SIZE="-1"><B>l<IMG
WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0"
SRC="img1.gif"
ALT="$\vert$">L<IMG
WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0"
SRC="img1.gif"
ALT="$\vert$">r<IMG
WIDTH="8" HEIGHT="31" ALIGN="MIDDLE" BORDER="0"
SRC="img1.gif"
ALT="$\vert$">R</B>] </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> </FONT><FONT SIZE="-1"><B>f</B>ault; </FONT><FONT SIZE="-1"><I>gap</I> and </FONT><FONT SIZE="-1"><I>tick</I> set length of and distance between ticks. </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> If </FONT><FONT SIZE="-1"><I>gap</I> <IMG
WIDTH="16" HEIGHT="29" ALIGN="MIDDLE" BORDER="0"
SRC="img8.gif"
ALT="$<$"> 0 it means the number of ticks. </FONT><FONT SIZE="-1"><B>l</B> or </FONT><FONT SIZE="-1"><B>r</B> will draw ticks to left or right </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> side of line [Default is centered] </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> Use upper case </FONT><FONT SIZE="-1"><B>L</B> or </FONT><FONT SIZE="-1"><B>R</B> to draw triangles instead of ticks </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT><FONT SIZE="-1"><B>-Sh</B></FONT><FONT SIZE="-1"><I>size</I> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> </FONT><FONT SIZE="-1"><B>h</B>exagon; </FONT><FONT SIZE="-1"><I>size</I> is its side </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT><FONT SIZE="-1"><B>-Si</B></FONT><FONT SIZE="-1"><I>size</I> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> </FONT><FONT SIZE="-1"><B>i</B>nverted triangle; </FONT><FONT SIZE="-1"><I>size</I> is its side </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT><FONT SIZE="-1"><B>-Sl</B></FONT><FONT SIZE="-1"><I>size</I>/</FONT><FONT SIZE="-1"><I>string</I>[%</FONT><FONT SIZE="-1"><I>font</I>] </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> </FONT><FONT SIZE="-1"><B>l</B>etter; </FONT><FONT SIZE="-1"><I>size</I> is fontsize. Append a letter or text string, and optionally a font </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT><FONT SIZE="-1"><B>-Sp</B> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> </FONT><FONT SIZE="-1"><B>p</B>oint; no size needed (1 pixel at current resolution is used) </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT><FONT SIZE="-1"><B>-Ss</B></FONT><FONT SIZE="-1"><I>size</I> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> </FONT><FONT SIZE="-1"><B>s</B>quare, </FONT><FONT SIZE="-1"><I>size</I> is its side </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT><FONT SIZE="-1"><B>-St</B></FONT><FONT SIZE="-1"><I>size</I> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> </FONT><FONT SIZE="-1"><B>t</B>riangle; </FONT><FONT SIZE="-1"><I>size</I> is its side </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT><FONT SIZE="-1"><B>-Sv</B>[</FONT><FONT SIZE="-1"><I>thick</I>/</FONT><FONT SIZE="-1"><I>length</I>/</FONT><FONT SIZE="-1"><I>width</I>][</FONT><FONT SIZE="-1"><B>n</B></FONT><FONT SIZE="-1"><I>norm</I>] </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> </FONT><FONT SIZE="-1"><B>v</B>ector; </FONT><FONT SIZE="-1"><I>direction</I> (CCW from horizontal) and </FONT><FONT SIZE="-1"><I>length</I> are read from input data </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> Optionally, append the thickness of the vector and the width and length of the </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> arrow-head. If the </FONT><FONT SIZE="-1"><B>n</B></FONT><FONT SIZE="-1"><I>norm</I> is appended, all vectors whose lengths are less than </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> </FONT><FONT SIZE="-1"><I>norm</I> will have their attributes scaled by length/</FONT><FONT SIZE="-1"><I>norm</I> </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT><FONT SIZE="-1"><B>-SV</B>[</FONT><FONT SIZE="-1"><I>thick</I>/</FONT><FONT SIZE="-1"><I>length</I>/</FONT><FONT SIZE="-1"><I>width</I>][</FONT><FONT SIZE="-1"><B>n</B></FONT><FONT SIZE="-1"><I>norm</I>] </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> </FONT><FONT SIZE="-1"><B>v</B>ector, except </FONT><FONT SIZE="-1"><I>azimuth</I> (degrees east of north) is expected instead of </FONT><FONT SIZE="-1"><I>direction</I> </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> The angle on the map is calculated based on the chosen map projection </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT><FONT SIZE="-1"><B>-Sw</B>[</FONT><FONT SIZE="-1"><I>size</I> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> pie </FONT><FONT SIZE="-1"><B>s</B>edge; </FONT><FONT SIZE="-1"><I>start</I> and </FONT><FONT SIZE="-1"><I>stop</I> directions (CCW from horizontal) are read from input data </FONT></TD>
</TR>
<TR><TD ALIGN="LEFT"><FONT SIZE="-1">
</FONT><FONT SIZE="-1"><B>-Sx</B></FONT><FONT SIZE="-1"><I>size</I> </FONT></TD>
<TD ALIGN="LEFT"><FONT SIZE="-1"> cross; </FONT><FONT SIZE="-1"><I>size</I> is length of crossing lines </FONT></TD>
</TR>
</TABLE><FONT SIZE="-1">
<A NAME="tbl:psxysymbols"></A></FONT></DIV></TD></TR>
</TABLE>
</DIV><P></P>
<BR>
<P>
Because some symbols require more input data than others, and because the
size of symbols as well as their color can be determined from the input data,
the format of data can be confusing. The general format for the input data
is (optional items are in brackets []):
<BR><A NAME="1727"></A>
<P>
<IMG
WIDTH="22" HEIGHT="29" ALIGN="MIDDLE" BORDER="0"
SRC="img39.gif"
ALT="$x\mbox{ } y$"> [ <IMG
WIDTH="10" HEIGHT="29" ALIGN="MIDDLE" BORDER="0"
SRC="img38.gif"
ALT="$z$"> ] [ <IMG
WIDTH="28" HEIGHT="29" ALIGN="MIDDLE" BORDER="0"
SRC="img40.gif"
ALT="$size$"> ] [ <IMG
WIDTH="20" HEIGHT="29" ALIGN="MIDDLE" BORDER="0"
SRC="img41.gif"
ALT="$\sigma_x$"> ] [ <IMG
WIDTH="20" HEIGHT="29" ALIGN="MIDDLE" BORDER="0"
SRC="img42.gif"
ALT="$\sigma_y$"> ] [ <IMG
WIDTH="50" HEIGHT="29" ALIGN="MIDDLE" BORDER="0"
SRC="img43.gif"
ALT="$symbol$"> ]
<BR>
<P>
The only required input columns are the first two which must contain the
longitude and latitude (or <I>x</I> and <I>y</I>). The remaining items
apply when one (or more) of the following conditions are met:
<P>
<OL>
<LI>If you want the color of each symbol to be determined individually,
supply a cptfile with the <B>-C</B> option and let the 3rd data column
contain the <I>z</I>-values to be used with the cptfile.
<P>
</LI>
<LI>If you want the size of each symbol to be determined individually,
append the size in a separate column.
<P>
</LI>
<LI>To draw error bars, use the <B>-E</B> option and give one or two
additional data columns with the <IMG
WIDTH="32" HEIGHT="29" ALIGN="MIDDLE" BORDER="0"
SRC="img44.gif"
ALT="$\pm dx$"> and <IMG
WIDTH="32" HEIGHT="29" ALIGN="MIDDLE" BORDER="0"
SRC="img45.gif"
ALT="$\pm dy$"> values; the form of
<B>-E</B> determines if one (<B>-Ex</B> or <B>-Ey</B>) or two (<B>-Exy</B>)
columns are needed. If upper case flags <B>X</B> or <B>Y</B> are given then
we will instead draw a ``box-and-whisker'' symbol and the <IMG
WIDTH="20" HEIGHT="29" ALIGN="MIDDLE" BORDER="0"
SRC="img41.gif"
ALT="$\sigma_x$"> (or
<IMG
WIDTH="20" HEIGHT="29" ALIGN="MIDDLE" BORDER="0"
SRC="img42.gif"
ALT="$\sigma_y$">) must represent 4 columns containing the minimum, the 25 and 75%
quartiles, and the maximum value. The given coordinate is taken as the 50%
quartile (median).
<A NAME="903"></A>
<P>
</LI>
<LI>If you draw vectors with <B>-Sv</B> (or <B>-SV</B>) then <I>size</I> is
actually two columns containing the <I>direction</I> (or <I>azimuth</I>)
and <I>length</I> of each vector.
<A NAME="910"></A>
<P>
</LI>
<LI>If you draw ellipses (<B>-Se</B>) then <I>size</I> is actually three
columns containing the <I>direction</I> and the <I>major</I> and <I>minor</I>
axes in inches (with <B>-SE</B> we expect <I>azimuth</I> instead and axes
in km).
<A NAME="918"></A>
<P>
</LI>
</OL>
<P>
Before we try some examples we need to discuss two key switches; they
specify pen attributes and symbol or polygon fill.
<P>
<BR><HR>
<!--Table of Child-Links-->
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
<UL>
<LI><A NAME="tex2html1126"
HREF="node51.html">2.1.1 Specifying pen attributes</A>
<LI><A NAME="tex2html1127"
HREF="node52.html">2.1.2 Specifying fill attributes</A>
<LI><A NAME="tex2html1128"
HREF="node53.html">2.1.3 Examples</A>
<LI><A NAME="tex2html1129"
HREF="node54.html">2.1.4 Exercises</A>
<LI><A NAME="tex2html1130"
HREF="node55.html">2.1.5 More exercises</A>
</UL>
<!--End of Table of Child-Links-->
<HR>
<!--Navigation Panel-->
<A NAME="tex2html1124"
HREF="node51.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.gif"></A>
<A NAME="tex2html1118"
HREF="node49.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.gif"></A>
<A NAME="tex2html1112"
HREF="node49.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.gif"></A>
<A NAME="tex2html1120"
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.gif"></A>
<A NAME="tex2html1122"
HREF="node79.html">
<IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="index.gif"></A>
<BR>
<B> Next:</B> <A NAME="tex2html1125"
HREF="node51.html">2.1.1 Specifying pen attributes</A>
<B> Up:</B> <A NAME="tex2html1119"
HREF="node49.html">2. SESSION TWO</A>
<B> Previous:</B> <A NAME="tex2html1113"
HREF="node49.html">2. SESSION TWO</A>
  <B> <A NAME="tex2html1121"
HREF="node1.html">Contents</A></B>
  <B> <A NAME="tex2html1123"
HREF="node79.html">Index</A></B>
<!--End of Navigation Panel-->
<ADDRESS>
Paul Wessel
2001-04-18
</ADDRESS>
</BODY>
</HTML>
|