<!-- Creator : groff version 1.19.2 --> <!-- CreationDate: Tue Mar 8 16:22:35 2011 --> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta name="generator" content="groff -Thtml, see www.gnu.org"> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <meta name="Content-Style" content="text/css"> <style type="text/css"> p { margin-top: 0; margin-bottom: 0; } pre { margin-top: 0; margin-bottom: 0; } table { margin-top: 0; margin-bottom: 0; } </style> <title>PSPOLAR</title> </head> <body bgcolor="#ffffff"> <h1 align=center>PSPOLAR</h1> <a href="#NAME">NAME</a><br> <a href="#SYNOPSIS">SYNOPSIS</a><br> <a href="#DESCRIPTION">DESCRIPTION</a><br> <a href="#ARGUMENTS">ARGUMENTS</a><br> <a href="#OPTIONS">OPTIONS</a><br> <a href="#EXAMPLES">EXAMPLES</a><br> <a href="#SEE ALSO">SEE ALSO</a><br> <a href="#REFERENCES">REFERENCES</a><br> <a href="#AUTHORS">AUTHORS</a><br> <hr> <a name="NAME"></a> <h2>NAME</h2> <p style="margin-left:11%; margin-top: 1em"><b>pspolar </b>- Plot polarities on the inferior focal half−sphere on maps</p> <a name="SYNOPSIS"></a> <h2>SYNOPSIS</h2> <p style="margin-left:11%; margin-top: 1em">pspolar <i>files</i> <b>−J</b><i>parameters</i> <b>−R</b><i>west</i>/<i>east</i>/<i>south</i>/<i>north</i>[<b>r</b>] <b>−D</b><i>lon</i>/<i>lat</i> <b>−M</b><i>size</i> <b>−S</b><i><symbol><size></i> [ <b>−B</b>[<b>p</b>|<b>s</b>]<i>parameters</i> ] [ <b>−C</b><i>lon</i>/<i>lat</i>[/<i>dash_width</i>/<i>pointsize</i>] ] [ <b>−F</b><i>color</i> ] [ <b>−G</b><i>fill</i> ] [ <b>−g</b><i>fill</i> ] [ <b>−H</b>[<b>i</b>][<i>nrec</i>] ] [ <b>−h</b> ] [ <b>−K</b> ] [ <b>−L</b> ] [ <b>−N</b> ] [ <b>−O</b> ] [ <b>−P</b> ] [ <b>−s</b><i>Half-size</i>[<b>v</b>[[<i>v_width</i>/<i>h_length</i>/<i>h_width</i>/<i>shape</i>]][<b>g</b>[<i>color</i>]][<b>l</b>] [ <b>−T</b><i>angle</i>/<i>form</i>/<i>justify</i>/<i>fontsize</i> ] [ <b>−t</b><i>pen</i> ] [ <b>−U</b>[<i>just</i>/<i>dx</i>/<i>dy</i>/][<b>c</b>|<i>label</i>] ] [ <b>−V</b> ] [ <b>−W</b><i>pen</i> ] [ <b>−X</b>[<b>a</b>|<b>c</b>|<b>r</b>][<i>x-shift</i>[<b>u</b>]] ] [ <b>−Y</b>[<b>a</b>|<b>c</b>|<b>r</b>][<i>y-shift</i>[<b>u</b>]] ] [ <b>−c</b><i>copies</i> ]</p> <a name="DESCRIPTION"></a> <h2>DESCRIPTION</h2> <p style="margin-left:11%; margin-top: 1em"><b>pspolar</b> reads data values from <i>files</i> [or standard input] and generates <i>PostScript</i> code that will plot stations on focal mechanisms on a map. The <i>PostScript</i> code is written to standard output.</p> <p style="margin-left:11%; margin-top: 1em">Parameters are expected to be in the following columns <b><br> 1,2,3,4</b></p> <p style="margin-left:22%;">station_code, azimuth, take-off angle, polarity</p> <p style="margin-left:22%; margin-top: 1em">polarity: <br> - compression can be c,C,u,U,+ <br> - rarefaction can be d,D,r,R,- <br> - not defined is anything else</p> <a name="ARGUMENTS"></a> <h2>ARGUMENTS</h2> <p style="margin-left:11%; margin-top: 1em"><i>files</i> List one or more file-names. If no files are given, pspolar will read standard input.</p> <table width="100%" border=0 rules="none" frame="void" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="11%"></td> <td width="3%"> <p style="margin-top: 1em" valign="top"><b>−J</b></p> </td> <td width="8%"></td> <td width="78%"> <p style="margin-top: 1em" valign="top">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 <b><A HREF="gmtdefaults.html#MEASURE_UNIT">MEASURE_UNIT</A></b> setting in .gmtdefaults4, but this can be overridden on the command line by appending <b>c</b>, <b>i</b>, or <b>m</b> to the scale/width value. When central meridian is optional, default is center of longitude range on <b>−R</b> option. Default standard parallel is the equator. For map height, max dimension, or min dimension, append <b>h</b>, <b>+</b>, or <b>-</b> to the width, respectively.</p> </td> </table> <p style="margin-left:22%;">More details can be found in the <b><A HREF="psbasemap.html">psbasemap</A></b> man pages.</p> <p style="margin-left:22%; margin-top: 1em"><b>CYLINDRICAL PROJECTIONS:</b></p> <p style="margin-left:22%; margin-top: 1em"><b>−Jc</b><i>lon0/lat0/scale</i> (Cassini) <b><br> −Jcyl_stere</b>/[<i>lon0/</i>[<i>lat0/</i>]]<i>scale</i> (Cylindrical Stereographic) <b><br> −Jj</b>[<i>lon0/</i>]<i>scale</i> (Miller) <b><br> −Jm</b>[<i>lon0</i>/[<i>lat0/</i>]]<i>scale</i> (Mercator) <b><br> −Jm</b><i>lon0/lat0/scale</i> (Mercator - Give meridian and standard parallel) <b><br> −Jo</b>[<b>a</b>]<i>lon0/lat0/azimuth/scale</i> (Oblique Mercator - point and azimuth) <b><br> −Jo</b>[<b>b</b>]<i>lon0/lat0/lon1/lat1/scale</i> (Oblique Mercator - two points) <b><br> −Joc</b><i>lon0/lat0/lonp/latp/scale</i> (Oblique Mercator - point and pole) <b><br> −Jq</b>[<i>lon0/</i>[<i>lat0/</i>]]<i>scale</i> (Cylindrical Equidistant) <b><br> −Jt</b><i>lon0/</i>[<i>lat0/</i>]<i>scale</i> (TM - Transverse Mercator) <b><br> −Ju</b><i>zone/scale</i> (UTM - Universal Transverse Mercator) <b><br> −Jy</b>[<i>lon0/</i>[<i>lat0/</i>]]<i>scale</i> (Cylindrical Equal-Area)</p> <p style="margin-left:22%; margin-top: 1em"><b>CONIC PROJECTIONS:</b></p> <p style="margin-left:22%; margin-top: 1em"><b>−Jb</b><i>lon0/lat0/lat1/lat2/scale</i> (Albers) <b><br> −Jd</b><i>lon0/lat0/lat1/lat2/scale</i> (Conic Equidistant) <b><br> −Jl</b><i>lon0/lat0/lat1/lat2/scale</i> (Lambert Conic Conformal) <b><br> −Jpoly</b>/[<i>lon0/</i>[<i>lat0/</i>]]<i>scale</i> ((American) Polyconic)</p> <p style="margin-left:22%; margin-top: 1em"><b>AZIMUTHAL PROJECTIONS:</b></p> <p style="margin-left:22%; margin-top: 1em"><b>−Ja</b><i>lon0/lat0</i>[<i>/horizon</i>]<i>/scale</i> (Lambert Azimuthal Equal-Area) <b><br> −Je</b><i>lon0/lat0</i>[<i>/horizon</i>]<i>/scale</i> (Azimuthal Equidistant) <b><br> −Jf</b><i>lon0/lat0</i>[<i>/horizon</i>]<i>/scale</i> (Gnomonic) <b><br> −Jg</b><i>lon0/lat0</i>[<i>/horizon</i>]<i>/scale</i> (Orthographic) <b><br> −Jg</b><i>lon0/lat0/altitude/azimuth/tilt/twist/Width/Height/scale</i> (General Perspective). <b><br> −Js</b><i>lon0/lat0</i>[<i>/horizon</i>]<i>/scale</i> (General Stereographic)</p> <p style="margin-left:22%; margin-top: 1em"><b>MISCELLANEOUS PROJECTIONS:</b></p> <p style="margin-left:22%; margin-top: 1em"><b>−Jh</b>[<i>lon0/</i>]<i>scale</i> (Hammer) <b><br> −Ji</b>[<i>lon0/</i>]<i>scale</i> (Sinusoidal) <b><br> −Jkf</b>[<i>lon0/</i>]<i>scale</i> (Eckert IV) <b><br> −Jk</b>[<b>s</b>][<i>lon0/</i>]<i>scale</i> (Eckert VI) <b><br> −Jn</b>[<i>lon0/</i>]<i>scale</i> (Robinson) <b><br> −Jr</b>[<i>lon0/</i>]<i>scale</i> (Winkel Tripel) <b><br> −Jv</b>[<i>lon0/</i>]<i>scale</i> (Van der Grinten) <b><br> −Jw</b>[<i>lon0/</i>]<i>scale</i> (Mollweide)</p> <p style="margin-left:22%; margin-top: 1em"><b>NON-GEOGRAPHICAL PROJECTIONS:</b></p> <p style="margin-left:22%; margin-top: 1em"><b>−Jp</b>[<b>a</b>]<i>scale</i>[<i>/origin</i>][<b>r</b>|<b>z</b>] (Polar coordinates (theta,r)) <b><br> −Jx</b><i>x-scale</i>[<b>d</b>|<b>l</b>|<b>p</b><i>pow</i>|<b>t</b>|<b>T</b>][<i>/y-scale</i>[<b>d</b>|<b>l</b>|<b>p</b><i>pow</i>|<b>t</b>|<b>T</b>]] (Linear, log, and power scaling)</p> <table width="100%" border=0 rules="none" frame="void" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="11%"></td> <td width="3%"> <p style="margin-top: 1em" valign="top"><b>−R</b></p> </td> <td width="8%"></td> <td width="78%"> <p style="margin-top: 1em" valign="top"><i>west, east, south,</i> and <i>north</i> specify the Region of interest, and you may specify them in decimal degrees or in [+-]dd:mm[:ss.xxx][W|E|S|N] format. Append <b>r</b> if lower left and upper right map coordinates are given instead of w/e/s/n. The two shorthands <b>−Rg</b> and <b>−Rd</b> stand for global domain (0/360 and -180/+180 in longitude respectively, with -90/+90 in latitude). Alternatively, specify the name of an existing grid file and the <b>−R</b> settings (and grid spacing, if applicable) are copied from the grid.</p></td> </table> <p style="margin-left:11%;"><b>−D</b>longitude/latitude</p> <p style="margin-left:22%;">Maps the bubble at given longitude and latitude point.</p> <table width="100%" border=0 rules="none" frame="void" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="11%"></td> <td width="9%"> <p style="margin-top: 1em" valign="top"><b>−M</b>size</p> </td> <td width="2%"></td> <td width="78%"> <p style="margin-top: 1em" valign="top">Sets the size of the beach ball to plot polarities in. <i>Size</i> is in inch (unless <b>c</b>, <b>i</b>, <b>m</b>, or <b>p</b> is appended).</p> </td> </table> <p style="margin-left:11%;"><b>−S</b><symbol_type><size></p> <p style="margin-left:22%;">Selects <i>symbol_type</i> and symbol <i>size</i>. Size is in inch (unless <b>c</b>, <b>i</b>, <b>m</b>, or <b>p</b> is appended). Choose symbol type from st(<i>a</i>)r, (<i>c</i>)ircle, (<i>d</i>)iamond, (<i>h</i>)exagon, (<i>i</i>)nverted triangle, (<i>p</i>)oint, (<i>s</i>)quare, (<i>t</i>)riangle, (<i>x</i>)cross.</p> <a name="OPTIONS"></a> <h2>OPTIONS</h2> <p style="margin-left:11%; margin-top: 1em">No space between the option flag and the associated arguments.</p> <table width="100%" border=0 rules="none" frame="void" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="11%"></td> <td width="9%"> <p style="margin-top: 1em" valign="top"><b>−B</b></p> </td> <td width="2%"></td> <td width="78%"> <p style="margin-top: 1em" valign="top">Sets map boundary annotation and tickmark intervals; see the <b><A HREF="psbasemap.html">psbasemap</A></b> man page for all the details.</p></td> <tr valign="top" align="left"> <td width="11%"></td> <td width="9%"> <p style="margin-top: 1em" valign="top"><b>−C</b></p> </td> <td width="2%"></td> <td width="78%"> <p style="margin-top: 1em" valign="top">Offsets focal mechanisms to the latitude and longitude specified in the last two columns of the input file.</p></td> <tr valign="top" align="left"> <td width="11%"></td> <td width="9%"> <p style="margin-top: 1em" valign="top"><b>−E</b>fill</p> </td> <td width="2%"></td> <td width="78%"> <p style="margin-top: 1em" valign="top">Selects filling of symbols for stations in extensive quadrants. Set the shade (0−255) or color (r/g/b) [Default is 250/250/250]. If <b>−E</b><i>fill</i> is the same as <b>−F</b><i>fill</i>, use <b>−e</b> to outline.</p> </td> </table> <p style="margin-left:11%;"><b>−e</b>[pen]</p> <p style="margin-left:22%;">Outline symbols in extensive quadrants using <i>pen</i> or the default pen (see <b>−W</b>).</p> <table width="100%" border=0 rules="none" frame="void" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="11%"></td> <td width="9%"> <p style="margin-top: 1em" valign="top"><b>−F</b><i>fill</i></p> </td> <td width="2%"></td> <td width="78%"> <p style="margin-top: 1em" valign="top">Sets background color of the beach ball. Default is no fill.</p></td> </table> <p style="margin-left:11%;"><b>−f</b>[pen]</p> <p style="margin-left:22%;">Outline the beach ball using <i>pen</i> or the default pen (see <b>−W</b>).</p> <table width="100%" border=0 rules="none" frame="void" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="11%"></td> <td width="9%"> <p style="margin-top: 1em" valign="top"><b>−G</b><i>fill</i></p> </td> <td width="2%"></td> <td width="78%"> <p style="margin-top: 1em" valign="top">Selects filling of symbols for stations in compressional quadrants. Set the shade (0−255) or color (r/g/b) [Default is 0/0/0].</p></td> </table> <p style="margin-left:11%;"><b>−g</b>[pen]</p> <p style="margin-left:22%;">Outline symbols in compressional quadrants using <i>pen</i> or the default pen (see <b>−W</b>).</p> <table width="100%" border=0 rules="none" frame="void" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="11%"></td> <td width="3%"> <p style="margin-top: 1em" valign="top"><b>−H</b></p> </td> <td width="8%"></td> <td width="78%"> <p style="margin-top: 1em" valign="top">Input file(s) has header record(s). If used, the default number of header records is <b><A HREF="gmtdefaults.html#N_HEADER_RECS">N_HEADER_RECS</A></b>. Use <b>−Hi</b> if only input data should have header records [Default will write out header records if the input data have them]. Blank lines and lines starting with # are always skipped.</p></td> <tr valign="top" align="left"> <td width="11%"></td> <td width="3%"> <p style="margin-top: 1em" valign="top"><b>−h</b></p> </td> <td width="8%"></td> <td width="78%"> <p style="margin-top: 1em" valign="top">Use special format derived from HYPO71 output</p></td> <tr valign="top" align="left"> <td width="11%"></td> <td width="3%"> <p style="margin-top: 1em" valign="top"><b>−K</b></p> </td> <td width="8%"></td> <td width="78%"> <p style="margin-top: 1em" valign="top">More <i>PostScript</i> code will be appended later [Default terminates the plot system].</p></td> <tr valign="top" align="left"> <td width="11%"></td> <td width="3%"> <p style="margin-top: 1em" valign="top"><b>−N</b></p> </td> <td width="8%"></td> <td width="78%"> <p style="margin-top: 1em" valign="top">Does <b>NOT</b> skip symbols that fall outside map border [Default plots points inside border only].</p></td> <tr valign="top" align="left"> <td width="11%"></td> <td width="3%"> <p style="margin-top: 1em" valign="top"><b>−O</b></p> </td> <td width="8%"></td> <td width="78%"> <p style="margin-top: 1em" valign="top">Selects Overlay plot mode [Default initializes a new plot system].</p></td> <tr valign="top" align="left"> <td width="11%"></td> <td width="3%"> <p style="margin-top: 1em" valign="top"><b>−P</b></p> </td> <td width="8%"></td> <td width="78%"> <p style="margin-top: 1em" valign="top">Selects Portrait plotting mode [Default is Landscape, see <b><A HREF="gmtdefaults.html">gmtdefaults</A></b> to change this].</p></td> </table> <p style="margin-left:11%;"><b>−s</b><i>half−size/[</i><b>V</b><i>[v_width/h_length/h_width/shape]][</i><b>G</b><i>r/g/b][</i><b>L</b><i>]</i></p> <p style="margin-left:22%;">Plots S polarity azimuth. <br> S polarity is in last column. It may be a vector (<b>V</b> option) or a segment. Give half−size,v_width,h_length,h_width in inch (unless <b>c</b>, <b>i</b>, <b>m</b>, or <b>p</b> is appended). [<b>L</b>] option is for outline.</p> <p style="margin-left:11%;"><b>−T</b><i>angle/form/justify/fontsize in points</i></p> <p style="margin-left:22%;">To write station code. [Default is 0.0/0/5/12].</p> <table width="100%" border=0 rules="none" frame="void" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="11%"></td> <td width="7%"> <p style="margin-top: 1em" valign="top"><b>−t</b>pen</p> </td> <td width="4%"></td> <td width="78%"> <p style="margin-top: 1em" valign="top">Set pen color to write station code. Default uses the default pen (see <b>−W</b>).</p> </td> <tr valign="top" align="left"> <td width="11%"></td> <td width="7%"> <p style="margin-top: 1em" valign="top"><b>−U</b></p> </td> <td width="4%"></td> <td width="78%"> <p style="margin-top: 1em" valign="top">Draw Unix System time stamp on plot. By adding <i>just/dx/dy/</i>, the user may specify the justification of the stamp and where the stamp should fall on the page relative to lower left corner of the plot. For example, BL/0/0 will align the lower left corner of the time stamp with the lower left corner of the plot. Optionally, append a <i>label</i>, or <b>c</b> (which will plot the command string.). The <b><A HREF="GMT.html">GMT</A></b> parameters <b><A HREF="gmtdefaults.html#UNIX_TIME">UNIX_TIME</A></b>, <b><A HREF="gmtdefaults.html#UNIX_TIME_POS">UNIX_TIME_POS</A></b>, and <b><A HREF="gmtdefaults.html#UNIX_TIME_FORMAT">UNIX_TIME_FORMAT</A></b> can affect the appearance; see the <b><A HREF="gmtdefaults.html">gmtdefaults</A></b> man page for details. The time string will be in the locale set by the environment variable <b>TZ</b> (generally local time).</p></td> <tr valign="top" align="left"> <td width="11%"></td> <td width="7%"> <p style="margin-top: 1em" valign="top"><b>−V</b></p> </td> <td width="4%"></td> <td width="78%"> <p style="margin-top: 1em" valign="top">Selects verbose mode, which will send progress reports to stderr [Default runs "silently"].</p></td> <tr valign="top" align="left"> <td width="11%"></td> <td width="7%"> <p style="margin-top: 1em" valign="top"><b>−W</b></p> </td> <td width="4%"></td> <td width="78%"> <p style="margin-top: 1em" valign="top">Set current pen attributes</p> </td> </table> <p style="margin-left:22%;">[Defaults: width = 1, color = 0/0/0, texture = solid].</p> <table width="100%" border=0 rules="none" frame="void" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="11%"></td> <td width="7%"> <p style="margin-top: 1em" valign="top"><b>−X −Y</b></p> </td> <td width="4%"></td> <td width="78%"> <p style="margin-top: 1em" valign="top">Shift plot origin relative to the current origin by (<i>x-shift,y-shift</i>) and optionally append the length unit (<b>c</b>, <b>i</b>, <b>m</b>, <b>p</b>). You can prepend <b>a</b> to shift the origin back to the original position after plotting, or prepend <b>r</b> [Default] to reset the current origin to the new location. If <b>−O</b> is used then the default (<i>x-shift,y-shift</i>) is (0,0), otherwise it is (r1i, r1i) or (r2.5c, r2.5c). Alternatively, give <b>c</b> to align the center coordinate (x or y) of the plot with the center of the page based on current page size.</p></td> <tr valign="top" align="left"> <td width="11%"></td> <td width="7%"> <p style="margin-top: 1em" valign="top"><b>−:</b></p> </td> <td width="4%"></td> <td width="78%"> <p style="margin-top: 1em" valign="top">Toggles between (longitude,latitude) and (latitude,longitude) input and/or output. [Default is (longitude,latitude)]. Append <b>i</b> to select input only or <b>o</b> to select output only. [Default affects both].</p></td> <tr valign="top" align="left"> <td width="11%"></td> <td width="7%"> <p style="margin-top: 1em" valign="top"><b>−c</b></p> </td> <td width="4%"></td> <td width="78%"> <p style="margin-top: 1em" valign="top">Specifies the number of plot copies. [Default is 1].</p></td> </table> <a name="EXAMPLES"></a> <h2>EXAMPLES</h2> <p style="margin-left:11%; margin-top: 1em"><b>pspolar −R</b>239/240/34/35.2 <b>−JM</b>8 <b>−N −Sc</b>0.4 <b>−H</b>1 <b>−D</b>239.5/34.5 <b>−M</b>5 <<END>! test.ps <br> stat azim ih pol <br> 0481 11 147 c <br> 6185 247 120 d <br> 0485 288 114 + <br> 0490 223 112 - <br> 0487 212 109 . <br> END <br> or <b><br> pspolar −R</b>239/240/34/35.2 <b>−JM</b>8 <b>−N −Sc</b>0.4 <b>−H</b>1 <b>−D</b>239.5/34.5 <b>−M</b>5 <b>−h</b> <<END>! test.ps <br> Date Or. time stat azim ih <br> 910223 1 22 0481 11 147 ipu0 <br> 910223 1 22 6185 247 120 ipd0 <br> 910223 1 22 0485 288 114 epu0 <br> 910223 1 22 0490 223 112 epd0 <br> 910223 1 22 0487 212 109 epu0 <br> END</p> <a name="SEE ALSO"></a> <h2>SEE ALSO</h2> <p style="margin-left:11%; margin-top: 1em"><i><A HREF="GMT.html">GMT</A></i>(1), <i><A HREF="psbasemap.html">psbasemap</A></i>(1), <i><A HREF="psxy.html">psxy</A></i>(1)</p> <a name="REFERENCES"></a> <h2>REFERENCES</h2> <p style="margin-left:11%; margin-top: 1em">Bomford, G., Geodesy, 4th ed., Oxford University Press, 1980. <br> Aki, K. and P. Richards, Quantitative Seismology, Freeman, 1980.</p> <a name="AUTHORS"></a> <h2>AUTHORS</h2> <p style="margin-left:11%; margin-top: 1em">Genevieve Patau <br> Seismology Dept. <br> Institut de Physique du Globe de Paris <br> (patau@ipgp.jussieu.fr)</p> <hr> </body> </html>