Re: psxy and segment headers

cj <[email protected]> Wed, 30 Jul 2014 20:17:22 -0400
Newsgroups gmane.comp.gis.gmt.user
Message-ID <[email protected]>
Hi,

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.

-cj

> On Jul 30, 2014, at 6:40 PM, Paul Wessel <[email protected]> wrote:
> 
> Hi Christian-
> 
> OK, fixed in r13394.  It will accept -Sf or -Sq with no args and wait for segment header parsing.
> -p
> 
> 
>> On Jul 30, 2014, at 5:26 AM, Christian Heine <[email protected]> wrote:
>> 
>> Hi Paul, Russell,
>> 
>> 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?
>> 
>> 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.
>> 
>> @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:
>> 
>> psxy: Segment header tries to switch to a line symbol like quoted line or fault - ignored
>> 
>> 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.
>> 
>> Command:
>> gmt psxy -JN180/22 -Rg PB2002_boundaries.gmt -W0.5p,red -Sf0.25/3p -Gred -Ba30 > out.ps
>> 
>> [GMT5 version as specified above]
>> 
>> Cheers,
>> Christian
>> 
>> 
>> 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:
>>> 
>>> Pretty sure this requires at least 5.1.1 or later (i.e., svn version).
>>> -p
>>> 
>>>> On Jul 29, 2014, at 1:09 PM, Russell Cuthbertson <[email protected]> wrote:
>>>> 
>>>> 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/). 
>>>> The -Sf section headers are meant to create the various symbols for each
>>>> type of plate boundary. 
>>>> 
>>>> 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
>>>> 
>>>> 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
>>>> 
>>>> Here is a snippet of the relevant bit of the file (with line numbers)
>>>> 18:    #
>>>> 19:    #
>>>> ----------------------------------------------------------------------------
>>>> #
>>>> 20:    > AF-AN Mueller et al. [1987]   
>>>> 21:    > -Sf0.45/3p
>>>> 22:    -0.4379 -54.8518
>>>> 
>>>> It appears to be recognising segment headers OK. gmtdefaults shows:
>>>> IO_SEGMENT_MARKER               = >
>>>> 
>>>> What else is it expecting?
>>>> 
>>>> I'm using 5.1.0
>>>> 
>>>> RussC
>>>> 
>>>> 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.
>> 
>> 
>> 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.

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.