Re: psxy and segment headers
Paul Wessel <[email protected]> Wed, 30 Jul 2014 16:48:13 -1000
| Newsgroups | gmane.comp.gis.gmt.user |
|---|---|
| Message-ID | <[email protected]> |
Fixed in r13399 -p On Jul 30, 2014, at 2:49 PM, Paul Wessel <[email protected]> wrote: > Oops, just noticed that - will have a look. > -p >=20 > On Jul 30, 2014, at 2:17 PM, cj <[email protected]> wrote: >=20 >> Hi, >>=20 >> Just fyi, that, "there are some stray fault symbols being plotted on = the left side of the map beyond the map boundaries, see attached PS/PDF = file" Christian mentioned, still happens in r13394. >>=20 >> -cj >>=20 >> On Jul 30, 2014, at 6:40 PM, Paul Wessel <[email protected]> wrote: >>=20 >>> Hi Christian- >>>=20 >>> OK, fixed in r13394. It will accept -Sf or -Sq with no args and = wait for segment header parsing. >>> -p >>>=20 >>>=20 >>> On Jul 30, 2014, at 5:26 AM, Christian Heine = <[email protected]> wrote: >>>=20 >>>> Hi Paul, Russell, >>>>=20 >>>> by pure coincidence, I just wanted to plot plate boundaries using = the same file myself and struggled a bit (should read my own blog I = suppose)... However, the command you specify below works for me as = expected on Mac OS X 10.9 using 5.1.2_r13178 [64-bit], it also did work = on older version. Maybe some file encoding issues? >>>>=20 >>>> This feature was implemented by Paul in early Feb 2012 (going by my = email), not sure which GMT version this corresponds to but I reckon it = was an early GMT 5 version. So it's been around for a bit. >>>>=20 >>>> @Paul: related to this - why is it necessary to specify the symbol = size in the call to psxy when it is specified for all segment headers? = When I try to call "gmt psxy -S" on that very same file Russ is quoting, = I get: >>>>=20 >>>> psxy: Segment header tries to switch to a line symbol like quoted = line or fault - ignored >>>>=20 >>>> Also, it seems that there are some stray fault symbols being = plotted on the left side of the map beyond the map boundaries, see = attached PS/PDF file. >>>>=20 >>>> Command: >>>> gmt psxy -JN180/22 -Rg PB2002_boundaries.gmt -W0.5p,red -Sf0.25/3p = -Gred -Ba30 > out.ps >>>>=20 >>>> [GMT5 version as specified above] >>>>=20 >>>> Cheers, >>>> Christian >>>>=20 >>>>=20 >>>> Mailing list for GMT discussions of all kinds. If you are not sure = you have found a bug, discuss it here first. >>>> To formally report bugs or request features, please register and = add New Issue on gmt.soest.hawaii.edu >>>> To unsubscribe, send the message "signoff gmt-help" to = [email protected] >>>> Note: gmt-help will become obsolete on Sept 1, 2014 - please use = forum on gmt.soest.hawaii.edu instead. >>>> <out.pdf> >>>> On 30 Jul 2014, at 1:18 am, Paul Wessel <[email protected]> wrote: >>>>=20 >>>>> Pretty sure this requires at least 5.1.1 or later (i.e., svn = version). >>>>> -p >>>>>=20 >>>>> On Jul 29, 2014, at 1:09 PM, Russell Cuthbertson = <[email protected]> wrote: >>>>>=20 >>>>>> I'm trying to implement the mods that Christian Heine >>>>>> = (http://tectonicwaters.wordpress.com/2012/06/28/plate-boundaries-for-gmt5s= -p >>>>>> sxy/) has done to Peter Bird's tectonic plates file >>>>>> (peterbird.name/oldFTP/PB2002/).=20 >>>>>> The -Sf section headers are meant to create the various symbols = for each >>>>>> type of plate boundary.=20 >>>>>>=20 >>>>>> The command is meant to be: >>>>>> psxy -J -R PB2002_boundaries.gmt -W0.5p,red -O -Sf0.25/3p -Gred >>>>>> -Ba30:."Bird's_Plate_Boundaries" >> out.ps >>>>>>=20 >>>>>> But all I get is: >>>>>> psxy: Warning: # not a valid number and may not be decoded = properly. >>>>>> psxy: Mismatch between actual (2) and expected (3) fields near = line 22 >>>>>>=20 >>>>>> Here is a snippet of the relevant bit of the file (with line = numbers) >>>>>> 18: # >>>>>> 19: # >>>>>> = --------------------------------------------------------------------------= -- >>>>>> # >>>>>> 20: > AF-AN Mueller et al. [1987] =20 >>>>>> 21: > -Sf0.45/3p >>>>>> 22: -0.4379 -54.8518 >>>>>>=20 >>>>>> It appears to be recognising segment headers OK. gmtdefaults = shows: >>>>>> IO_SEGMENT_MARKER =3D > >>>>>>=20 >>>>>> What else is it expecting? >>>>>>=20 >>>>>> I'm using 5.1.0 >>>>>>=20 >>>>>> RussC >>>>>>=20 >>>>>> Mailing list for GMT discussions of all kinds. If you are not = sure you have found a bug, discuss it here first. >>>>>> To formally report bugs or request features, please register and = add New Issue on gmt.soest.hawaii.edu >>>>>> To unsubscribe, send the message "signoff gmt-help" to = [email protected] >>>>>> Note: gmt-help will become obsolete on Sept 1, 2014 - please use = forum on gmt.soest.hawaii.edu instead. >>>>>=20 >>>>> Mailing list for GMT discussions of all kinds. If you are not = sure you have found a bug, discuss it here first. >>>>> To formally report bugs or request features, please register and = add New Issue on gmt.soest.hawaii.edu >>>>> To unsubscribe, send the message "signoff gmt-help" to = [email protected] >>>>> Note: gmt-help will become obsolete on Sept 1, 2014 - please use = forum on gmt.soest.hawaii.edu instead. >>>>=20 >>>>=20 >>>> Mailing list for GMT discussions of all kinds. If you are not sure = you have found a bug, discuss it here first. >>>> To formally report bugs or request features, please register and = add New Issue on gmt.soest.hawaii.edu >>>> To unsubscribe, send the message "signoff gmt-help" to = [email protected] >>>> Note: gmt-help will become obsolete on Sept 1, 2014 - please use = forum on gmt.soest.hawaii.edu instead. >>>=20 >>> Mailing list for GMT discussions of all kinds. If you are not sure = you have found a bug, discuss it here first. >>> To formally report bugs or request features, please register and add = New Issue on gmt.soest.hawaii.edu >>> To unsubscribe, send the message "signoff gmt-help" to = [email protected] >>> Note: gmt-help will become obsolete on Sept 1, 2014 - please use = forum on gmt.soest.hawaii.edu instead. >> Mailing list for GMT discussions of all kinds. If you are not sure = you have found a bug, discuss it here first. To formally report bugs or = request features, please register and add New Issue on = gmt.soest.hawaii.edu To unsubscribe, send the message "signoff gmt-help" = to [email protected] Note: gmt-help will become obsolete on Sept = 1, 2014 - please use forum on gmt.soest.hawaii.edu instead. >=20 Mailing list for GMT discussions of all kinds. If you are not sure you have found a bug, discuss it here first. To formally report bugs or request features, please register and add New Issue on gmt.soest.hawaii.edu To unsubscribe, send the message "signoff gmt-help" to [email protected] Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.