pspolar - Plot polarities on the inferior focal half−sphere on maps |
pspolar files −Jparameters −Rwest/east/south/north[r] −Dlon/lat −Msize −S<symbol><size> [ −B[p|s]parameters ] [ −Clon/lat[/dash_width/pointsize] ] [ −Fcolor ] [ −Gfill ] [ −gfill ] [ −H[i][nrec] ] [ −h ] [ −K ] [ −L ] [ −N ] [ −O ] [ −P ] [ −sHalf-size[v[[v_width/h_length/h_width/shape]][g[color]][l] [ −Tangle/form/justify/fontsize ] [ −tpen ] [ −U[/dx/dy/][label] ] [ −V ] [ −Wpen ] [ −X[a|c|r][x-shift[u]] ] [ −Y[a|c|r][y-shift[u]] ] [ −ccopies ] |
pspolar reads data values from files [or standard input] and generates PostScript code that will plot stations on focal mechanisms on a map. The PostScript code is written to standard output. Parameters are expected to be in the following columns |
1,2,3,4 |
station_code, azimuth, take-off angle, polarity polarity: |
files List one or more file-names. If no files are given, pspolar will read standard input. |
−J |
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 MEASURE_UNIT setting in .gmtdefaults4, but this can be overridden on the command line by appending c, i, or m to the scale/width value. For map height, max dimension, or min dimension, append h, +, or - to the width, respectively. |
More details can be found in the psbasemap man pages. CYLINDRICAL PROJECTIONS: −Jclon0/lat0/scale (Cassini) AZIMUTHAL PROJECTIONS: −Jalon0/lat0/scale (Lambert) CONIC PROJECTIONS: −Jblon0/lat0/lat1/lat2/scale
(Albers) MISCELLANEOUS PROJECTIONS: −Jhlon0/scale (Hammer) NON-GEOGRAPHICAL PROJECTIONS: −Jp[a]scale[/origin][r|z]
(Polar coordinates (theta,r)) |
−R |
west, east, south, and north 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 r if lower left and upper right map coordinates are given instead of wesn. The two shorthands −Rg −Rd stand for global domain (0/360 or -180/+180 in longitude respectively, with -90/+90 in latitude). |
−Dlongitude/latitude |
Maps the bubble at given longitude and latitude point. |
−Msize |
Sets the size of the beach ball to plot polarities in. Size is in inch (unless c, i, m, or p is appended). |
−S<symbol_type><size> |
Selects symbol_type and symbol size. Size is in inch (unless c, i, m, or p is appended). Choose symbol type from st(a)r, (c)ircle, (d)iamond, (h)exagon, (i)nverted triangle, (p)oint, (s)quare, (t)riangle, (x)cross. |
No space between the option flag and the associated arguments. |
−B |
Sets map boundary annotation and tickmark intervals; see the psbasemap man page for all the details. |
||
−C |
Offsets focal mechanisms to the latitude and longitude specified in the last two columns of the input file. |
||
−Efill |
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 −Efill is the same as −Ffill, use −e to outline. |
−e[pen] |
Outline symbols in extensive quadrants using pen or the default pen (see −W). |
−Ffill |
Sets background color of the beach ball. Default is no fill. |
−f[pen] |
Outline the beach ball using pen or the default pen (see −W). |
−Gfill |
Selects filling of symbols for stations in compressional quadrants. Set the shade (0−255) or color (r/g/b) [Default is 0/0/0]. |
−g[pen] |
Outline symbols in compressional quadrants using pen or the default pen (see −W). |
−H |
Input file(s) has Header record(s). Number of header records can be changed by editing your .gmtdefaults4 file. If used, GMT default is 1 header record. Use −Hi if only input data should have header records [Default will write out header records if the input data have them]. |
||
−h |
Use special format derived from HYPO71 output |
||
−K |
More PostScript code will be appended later [Default terminates the plot system]. |
||
−N |
Does NOT skip symbols that fall outside map border [Default plots points inside border only]. |
||
−O |
Selects Overlay plot mode [Default initializes a new plot system]. |
||
−P |
Selects Portrait plotting mode [GMT Default is Landscape, see gmtdefaults to change this]. |
−shalf−size/[V[v_width/h_length/h_width/shape]][Gr/g/b][L] |
Plots S polarity azimuth. |
−Tangle/form/justify/fontsize in points |
To write station code. [Default is 0.0/0/5/12]. |
−tpen |
Set pen color to write station code. Default uses the default pen (see −W). |
||
−U |
Draw Unix System time stamp on plot. User may specify 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 c (which will plot the command string.). The GMT parameters UNIX_TIME and UNIX_TIME_POS can affect the appearance; see the gmtdefaults man page for details. |
||
−V |
Selects verbose mode, which will send progress reports to stderr [Default runs "silently"]. |
||
−W |
Set current pen attributes [Defaults: width = 1, color = 0/0/0, texture = solid]. |
||
−X −Y |
Shift origin of plot by (x-shift,y-shift), and opetionally append units (c, i, m, p). Prepend a for absolute coordinates; the default (r) will reset plot origin. Give c to center plot using current page size. |
||
−: |
Toggles between (longitude,latitude) and (latitude,longitude) input and/or output. [Default is (longitude,latitude)]. Append i to select input only or o to select output only. [Default affects both]. |
||
−c |
Specifies the number of plot copies. [Default is 1]. |
pspolar −R239/240/34/35.2 −JM8
−N −Sc0.4 −H1
−D239.5/34.5 −M5 <<END>!
test.ps |
Bomford, G., Geodesy, 4th ed., Oxford University Press,
1980. |
Genevieve Patau |