multiple segment psxy

Added by susilo over 4 years ago

Dear All,

I am try to plot fault line using multiple segment in GMT Version 5.3.0_r17171.
mv command is:
gmt psbasemap -R -J -K > out.ps
gmt pscoast -R -JM -N1/0.1p -Df -Wthinnest,0 -O -K -V >> out.ps
gmt psxy fault.data -R -J -W -O >> out.ps

The fault dat is:

-Sf0.3/10p+t+r

131.189270,-8.370552
131.306189,-8.268176
131.423107,-8.165800
131.465393,-8.126870
131.500950,-8.091330
131.560769,-8.026669
131.647492,-7.926589
131.690805,-7.876490
131.734890,-7.827172

-Sf0.3/10p+t+r

133.061206,-4.338768
133.107823,-4.489510
133.154440,-4.640252
133.160648,-4.662322
133.165237,-4.681853
133.168705,-4.699081
133.173796,-4.729460
133.179920,-4.775325
133.185518,-4.821142

And i get the result online black line without the triangle symbol for subduction.
Is there any wrong command of my scripts ?

Thank you very much

-Susilo


Replies (4)

RE: multiple segment psxy - Added by Paul over 4 years ago

Yes, you need to tell psxy you are drawing fronts by adding -Sf.

RE: multiple segment psxy - Added by susilo over 4 years ago

Dear Paul,

Thank you very much for the correction.

Best regards,

Susilo

RE: multiple segment psxy - Added by Basem 3 months ago

Dear Susilo, Dear Paul,

After 4 years, I have the same Problem and the GMT doesn't react with me even using the -Sf option.
I have a TXT file of several faults in this form:

33.339584635128 28.617986261144
33.336784875459 28.571327559585
33.334689294277 28.557183318211

33.564389220623 23.587404965303
33.587382988442 23.558727612818

33.598855626283 23.543696754818
33.619689765607 23.526132751617

33.514591687908 23.584902420971
33.52811721346 23.555073703787

And I use this command line:

gmt psxy faults.txt R JM -Sf0.3/10p+r -W1,red -O -K -V >> ps

However nothing appears. But when I separet them in several files, they appear:

gmt psxy faults_01.txt R JM -Sf0.3/10p+r -W1,red -O -K -V >> ps
gmt psxy faults_02.txt R JM -Sf0.3/10p+r -W1,red -O -K -V >> ps
gmt psxy faults_03.txt R JM -Sf0.3/10p+r -W1,red -O -K -V >> ps
etc...

How can one plot all faults using only one command?

Many thanks for you and Paul.
Basem

RE: multiple segment psxy - Added by Federico 3 months ago

This forum is deprecated and not monitored. Please post questions on the new forum at forum.generic-mapping-tools.org

(1-4/4)