Discussion:
Drawing a line resulting a closed polygon
muksin umar
2014-06-20 18:42:42 UTC
Permalink
Dear all,

I just installed a new version of GMT on ubuntu.
In case I have several line points outside the region, when I draw a line
it gives me a closed polygon.
Does anyone have the same experience?
--
Muksin


~~~~~~~~~~~~~~~
Muksin Umar
Department of Physics,
Syiah Kuala University Banda Aceh Indonesia
***@unsyiah.ac.id
Phone: +62-81263289103

Section 2.2 Geophysical Deep Sounding
GFZ-Potsdam, German Research Centre for Geosciences
Phone: +49-331288 28690
email : ***@gfz-potsdam.de

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 ***@lists.hawaii.edu
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.
Joaquim Luis
2014-06-21 00:35:54 UTC
Permalink
Post by muksin umar
I just installed a new version of GMT on ubuntu.
Sorry, I can't resist but "New and Ubuntu" triggers and infinite loop
in my head
Post by muksin umar
In case I have several line points outside the region, when I draw a
line it gives me a closed polygon.
Does anyone have the same experience?
Please, post a (simple) example, otherwise I'm afraid we can't help with it.


Joaquim
Post by muksin umar
--
Muksin
~~~~~~~~~~~~~~~
Muksin Umar
Department of Physics,
Syiah Kuala University Banda Aceh Indonesia
Phone: +62-81263289103
Section 2.2 Geophysical Deep Sounding
GFZ-Potsdam, German Research Centre for Geosciences
Phone: +49-331288 28690
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
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 ***@lists.hawaii.edu
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.
Paul Wessel
2014-06-21 05:14:00 UTC
Permalink
The only way you would get a polygon with psxy is if you use -G<fill> or -L. So an example will be needed to see what you are doing.
-p
Post by muksin umar
I just installed a new version of GMT on ubuntu.
Sorry, I can't resist but "New and Ubuntu" triggers and infinite loop in my head
Post by muksin umar
In case I have several line points outside the region, when I draw a line it gives me a closed polygon.
Does anyone have the same experience?
Please, post a (simple) example, otherwise I'm afraid we can't help with it.
Joaquim
Post by muksin umar
--
Muksin
~~~~~~~~~~~~~~~
Muksin Umar
Department of Physics,
Syiah Kuala University Banda Aceh Indonesia
Phone: +62-81263289103
Section 2.2 Geophysical Deep Sounding
GFZ-Potsdam, German Research Centre for Geosciences
Phone: +49-331288 28690
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 ***@lists.hawaii.edu
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.
Muksin Umar
2014-06-21 17:40:58 UTC
Permalink
Dear Paul,

Here is my script:

#!/bin/tcsh

set psfile="Aceh2.ps"

set la1=2
set la2=5.5
set lo1=96
set lo2=100

rm $psfile
pscoast -R$lo1/$lo2/$la1/$la2 -Df -JM6i -S200 -G80 -K -B0.4NsWe -W1/0 >
$psfile
psxy -R -JM -m -N -P -O -K -W10/140 transform_xy >> $psfile
echo showpage >> $psfile
gv $psfile


I got the postscript file as attached.
Even the coastline also results in the closed polygon.
However, when I choose larger boundary region it will give a correct
fault line

Regards,
Muksin
Post by Paul Wessel
The only way you would get a polygon with psxy is if you use -G<fill>
or -L. So an example will be needed to see what you are doing.
-p
Post by muksin umar
I just installed a new version of GMT on ubuntu.
Sorry, I can't resist but "New and Ubuntu" triggers and infinite loop in my head
Post by muksin umar
In case I have several line points outside the region, when I draw a
line it gives me a closed polygon.
Does anyone have the same experience?
Please, post a (simple) example, otherwise I'm afraid we can't help with it.
Joaquim
Post by muksin umar
--
Muksin
~~~~~~~~~~~~~~~
Muksin Umar
Department of Physics,
Syiah Kuala University Banda Aceh Indonesia
Phone: +62-81263289103
Section 2.2 Geophysical Deep Sounding
GFZ-Potsdam, German Research Centre for Geosciences
Phone: +49-331288 28690
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 <http://gmt.soest.hawaii.edu> To unsubscribe,
obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu
<http://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 <http://gmt.soest.hawaii.edu> To unsubscribe,
obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu
<http://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
on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.
--
Muksin Umar
--------------------------------
Geophysikalische Tiefensondierung
Helmholtz-Zentrum Potsdam
Deutsches GeoForschungsZentrum GFZ
Telegrafenberg
Haus E, Raum 453
14473 Potsdam
Telefon: +49 331 288-28690
E-Mail: ***@gfz-potsdam.de
www.gfz-potsdam.de/mitarbeiter/muksin-muksin/


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 ***@lists.hawaii.edu
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.
Joaquim Luis
2014-06-22 00:33:44 UTC
Permalink
I still don't understand what is it that you find wrong with the line
plotted with psxy but the coastlines issue look so much as this other
user report

http://gmt.soest.hawaii.edu/boards/1/topics/730

and that I could not reproduce.
Post by Muksin Umar
Dear Paul,
#!/bin/tcsh
set psfile="Aceh2.ps"
set la1=2
set la2=5.5
set lo1=96
set lo2=100
rm $psfile
pscoast -R$lo1/$lo2/$la1/$la2 -Df -JM6i -S200 -G80 -K -B0.4NsWe -W1/0
Post by Muksin Umar
$psfile
psxy -R -JM -m -N -P -O -K -W10/140 transform_xy >> $psfile
echo showpage >> $psfile
gv $psfile
I got the postscript file as attached.
Even the coastline also results in the closed polygon.
However, when I choose larger boundary region it will give a correct
fault line
Regards,
Muksin
Post by Muksin Umar
The only way you would get a polygon with psxy is if you use -G<fill>
or -L. So an example will be needed to see what you are doing.
-p
Post by muksin umar
I just installed a new version of GMT on ubuntu.
Sorry, I can't resist but "New and Ubuntu" triggers and infinite loop in my head
Post by muksin umar
In case I have several line points outside the region, when I draw
a line it gives me a closed polygon.
Does anyone have the same experience?
Please, post a (simple) example, otherwise I'm afraid we can't help with it.
Joaquim
Post by muksin umar
--
Muksin
~~~~~~~~~~~~~~~
Muksin Umar
Department of Physics,
Syiah Kuala University Banda Aceh Indonesia
Phone: +62-81263289103
Section 2.2 Geophysical Deep Sounding
GFZ-Potsdam, German Research Centre for Geosciences
Phone: +49-331288 28690
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 <http://gmt.soest.hawaii.edu> To unsubscribe,
obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu
<http://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 <http://gmt.soest.hawaii.edu> To unsubscribe,
obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu
<http://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
obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu
instead.
--
Muksin Umar
--------------------------------
Geophysikalische Tiefensondierung
Helmholtz-Zentrum Potsdam
Deutsches GeoForschungsZentrum GFZ
Telegrafenberg
Haus E, Raum 453
14473 Potsdam
Telefon: +49 331 288-28690
www.gfz-potsdam.de/mitarbeiter/muksin-muksin/
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
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 ***@lists.hawaii.edu
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.
Joaquim Luis
2014-06-23 11:28:23 UTC
Permalink
Can you please send us the file "transform_xy"

Joaquim
Dear Joaquim,
I just installed a newest ubuntu and gmt.
Instead of creating a fault-line (one line) it creates a polygon
connecting the two edge points.
Sometimes, the points of the coastlines are connected so that I got a
weird line.
The script works well on my old laptop using old ubuntu and GMT
Muksin
Post by Joaquim Luis
I still don't understand what is it that you find wrong with the line
plotted with psxy but the coastlines issue look so much as this other
user report
http://gmt.soest.hawaii.edu/boards/1/topics/730
and that I could not reproduce.
Post by Muksin Umar
Dear Paul,
#!/bin/tcsh
set psfile="Aceh2.ps"
set la1=2
set la2=5.5
set lo1=96
set lo2=100
rm $psfile
pscoast -R$lo1/$lo2/$la1/$la2 -Df -JM6i -S200 -G80 -K -B0.4NsWe
-W1/0 > $psfile
psxy -R -JM -m -N -P -O -K -W10/140 transform_xy >> $psfile
echo showpage >> $psfile
gv $psfile
I got the postscript file as attached.
Even the coastline also results in the closed polygon.
However, when I choose larger boundary region it will give a correct
fault line
Regards,
Muksin
Post by Paul Wessel
The only way you would get a polygon with psxy is if you use
-G<fill> or -L. So an example will be needed to see what you are
doing.
-p
Post by muksin umar
I just installed a new version of GMT on ubuntu.
Sorry, I can't resist but "New and Ubuntu" triggers and infinite loop in my head
Post by muksin umar
In case I have several line points outside the region, when I
draw a line it gives me a closed polygon.
Does anyone have the same experience?
Please, post a (simple) example, otherwise I'm afraid we can't help with it.
Joaquim
Post by muksin umar
--
Muksin
~~~~~~~~~~~~~~~
Muksin Umar
Department of Physics,
Syiah Kuala University Banda Aceh Indonesia
Phone: +62-81263289103
Section 2.2 Geophysical Deep Sounding
GFZ-Potsdam, German Research Centre for Geosciences
Phone: +49-331288 28690
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 <http://gmt.soest.hawaii.edu> To
unsubscribe, send the message "signoff gmt-help" to
Note: gmt-help will become obsolete on Sept 1, 2014 - please use
forum on gmt.soest.hawaii.edu <http://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 <http://gmt.soest.hawaii.edu> To unsubscribe,
obsolete on Sept 1, 2014 - please use forum on
gmt.soest.hawaii.edu <http://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
obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu
instead.
--
Muksin Umar
--------------------------------
Geophysikalische Tiefensondierung
Helmholtz-Zentrum Potsdam
Deutsches GeoForschungsZentrum GFZ
Telegrafenberg
Haus E, Raum 453
14473 Potsdam
Telefon: +49 331 288-28690
www.gfz-potsdam.de/mitarbeiter/muksin-muksin/
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
obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu
instead.
--
Muksin Umar
--------------------------------
Geophysikalische Tiefensondierung
Helmholtz-Zentrum Potsdam
Deutsches GeoForschungsZentrum GFZ
Telegrafenberg
Haus E, Raum 453
14473 Potsdam
Telefon: +49 331 288-28690
www.gfz-potsdam.de/mitarbeiter/muksin-muksin/
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 ***@lists.hawaii.edu
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.
Joaquim Luis
2014-06-23 15:58:52 UTC
Permalink
Muskin

Can you please try to remove the last line of the transform_xy file and
check that the problem still exists ... or not

(please, check that you are posting to the list and not to me only)

Joaquim
Dear Joaquim,
Please find the attached file.
Thank you very much.
Muksin
Can you please send us the file "transform_xy"
Joaquim
Dear Joaquim,
I just installed a newest ubuntu and gmt.
Instead of creating a fault-line (one line) it creates a polygon
connecting the two edge points.
Sometimes, the points of the coastlines are connected so that I
got a weird line.
The script works well on my old laptop using old ubuntu and GMT
Muksin
Post by Joaquim Luis
I still don't understand what is it that you find wrong with the
line plotted with psxy but the coastlines issue look so much as
this other user report
http://gmt.soest.hawaii.edu/boards/1/topics/730
and that I could not reproduce.
Post by Muksin Umar
Dear Paul,
#!/bin/tcsh
set psfile="Aceh2.ps"
set la1=2
set la2=5.5
set lo1=96
set lo2=100
rm $psfile
pscoast -R$lo1/$lo2/$la1/$la2 -Df -JM6i -S200 -G80 -K -B0.4NsWe
-W1/0 > $psfile
psxy -R -JM -m -N -P -O -K -W10/140 transform_xy >> $psfile
echo showpage >> $psfile
gv $psfile
I got the postscript file as attached.
Even the coastline also results in the closed polygon.
However, when I choose larger boundary region it will give a
correct fault line
Regards,
Muksin
Post by Paul Wessel
The only way you would get a polygon with psxy is if you use
-G<fill> or -L. So an example will be needed to see what you
are doing.
-p
Post by Joaquim Luis
Post by muksin umar
I just installed a new version of GMT on ubuntu.
Sorry, I can't resist but "New and Ubuntu" triggers and
infinite loop in my head
Post by muksin umar
In case I have several line points outside the region, when
I draw a line it gives me a closed polygon.
Does anyone have the same experience?
Please, post a (simple) example, otherwise I'm afraid we
can't help with it.
Joaquim
Post by muksin umar
--
Muksin
~~~~~~~~~~~~~~~
Muksin Umar
Department of Physics,
Syiah Kuala University Banda Aceh Indonesia
Phone: +62-81263289103 <tel:%2B62-81263289103>
Section 2.2 Geophysical Deep Sounding
GFZ-Potsdam, German Research Centre for Geosciences
Phone: +49-331288 28690 <tel:%2B49-331288%2028690>
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
<http://gmt.soest.hawaii.edu> To unsubscribe, send the
become obsolete on Sept 1, 2014 - please use forum on
gmt.soest.hawaii.edu <http://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 <http://gmt.soest.hawaii.edu>
To unsubscribe, send the message "signoff gmt-help" to
Note: gmt-help will become obsolete on Sept 1, 2014 - please
use forum on gmt.soest.hawaii.edu
<http://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 <http://gmt.soest.hawaii.edu> To
unsubscribe, send the message "signoff gmt-help" to
Note: gmt-help will become obsolete on Sept 1, 2014 - please
use forum on gmt.soest.hawaii.edu
<http://gmt.soest.hawaii.edu> instead.
--
Muksin Umar
--------------------------------
Geophysikalische Tiefensondierung
Helmholtz-Zentrum Potsdam
Deutsches GeoForschungsZentrum GFZ
Telegrafenberg
Haus E, Raum 453
14473 Potsdam
Telefon:+49 331 288-28690 <tel:%2B49%20331%20288-28690>
www.gfz-potsdam.de/mitarbeiter/muksin-muksin/ <http://www.gfz-potsdam.de/mitarbeiter/muksin-muksin/>
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 <http://gmt.soest.hawaii.edu> To
unsubscribe, send the message "signoff gmt-help" to
Note: gmt-help will become obsolete on Sept 1, 2014 - please
use forum on gmt.soest.hawaii.edu <http://gmt.soest.hawaii.edu>
instead.
--
Muksin Umar
--------------------------------
Geophysikalische Tiefensondierung
Helmholtz-Zentrum Potsdam
Deutsches GeoForschungsZentrum GFZ
Telegrafenberg
Haus E, Raum 453
14473 Potsdam
Telefon:+49 331 288-28690 <tel:%2B49%20331%20288-28690>
www.gfz-potsdam.de/mitarbeiter/muksin-muksin/ <http://www.gfz-potsdam.de/mitarbeiter/muksin-muksin/>
--
Muksin
~~~~~~~~~~~~~~~
Muksin Umar
Department of Physics,
Syiah Kuala University Banda Aceh Indonesia
Phone: +62-81263289103
Section 2.2 Geophysical Deep Sounding
GFZ-Potsdam, German Research Centre for Geosciences
Phone: +49-331288 28690
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 ***@lists.hawaii.edu
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.
m***@GMAIL.COM
2014-06-23 17:08:45 UTC
Permalink
Dear Joaquim,

I have tried it. I have tried different
The main thing is that when the points are inside the region, it will create a normal line but if the points are outside, it will create a polygon.
Another interesting thing is when I plot symbols like circles ( -Sc0.2), all symbols will be plotted including the symbols outside the region. It never happened on my old ubuntu and GMT.
Thank you very much.

Muksin

----- Reply message -----
From: "Joaquim Luis" <***@UALG.PT>
To: <GMT-***@LISTS.HAWAII.EDU>
Subject: [GMT-HELP] Drawing a line resulting a closed polygon
Date: Mon, Jun 23, 2014 22:58
Muskin



Can you please try to remove the last line of the transform_xy file
and check that the problem still exists ... or not



(please, check that you are posting to the list and not to me only)



Joaquim






Dear Joaquim,



Please find the attached file.
Thank you very much.



Muksin





On Mon, Jun 23, 2014 at 1:28 PM,
Joaquim Luis <***@ualg.pt>
wrote:



Can you please send us the file
"transform_xy"




Joaquim






Dear Joaquim,



I just installed a newest ubuntu and gmt.

Instead of creating a fault-line (one line) it
creates a polygon connecting the two edge points.

Sometimes, the points of the coastlines are
connected so that I got a weird line.

The script works well on my old laptop using old
ubuntu and GMT





Muksin





On 22/06/2014 02:33, Joaquim Luis wrote:


I still don't understand
what is it that you find wrong with the line
plotted with psxy but the coastlines issue look so
much as this other user report



http://gmt.soest.hawaii.edu/boards/1/topics/730



and that I could not reproduce.




Dear Paul,



Here is my script:



#!/bin/tcsh



set psfile="Aceh2.ps"



set la1=2

set la2=5.5

set lo1=96

set lo2=100



rm $psfile

pscoast -R$lo1/$lo2/$la1/$la2 -Df -JM6i -S200
-G80 -K -B0.4NsWe -W1/0 > $psfile

psxy -R -JM -m -N -P -O -K -W10/140
transform_xy >> $psfile

echo showpage >> $psfile

gv $psfile





I got the postscript file as attached.

Even the coastline also results in the closed
polygon.

However, when I choose larger boundary region
it will give a correct fault line



Regards,

Muksin







On 21/06/2014 07:14, Paul Wessel wrote:


The only way you would
get a polygon with psxy is if you use
-G<fill> or -L. So an example will be
needed to see what you are doing.
-p




On Jun 20, 2014, at 6:35 PM,
Joaquim Luis <***@UALG.PT>




wrote:







I just installed a new
version of GMT on ubuntu.




Sorry, I can't resist but "New and
Ubuntu" triggers and infinite loop
in my head





In case I have several line
points outside the region,
when I draw a line it gives me
a closed polygon.




Does anyone have the same
experience?




Please, post a (simple) example,
otherwise I'm afraid we can't help
with it.





Joaquim
--
Muksin





~~~~~~~~~~~~~~~

Muksin Umar

Department of Physics,

Syiah Kuala University Banda
Aceh Indonesia

***@unsyiah.ac.id

Phone: +62-81263289103



Section 2.2 Geophysical Deep
Sounding

GFZ-Potsdam, German Research
Centre for Geosciences

Phone: +49-331288
28690

email : ***@gfz-potsdam.de


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 ***@lists.hawaii.edu
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 ***@lists.hawaii.edu
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 ***@lists.hawaii.edu
Note: gmt-help will become obsolete on Sept 1,
2014 - please use forum on gmt.soest.hawaii.edu
instead.
--
Muksin Umar
--------------------------------
Geophysikalische Tiefensondierung
Helmholtz-Zentrum Potsdam
Deutsches GeoForschungsZentrum GFZ
Telegrafenberg
Haus E, Raum 453
14473 Potsdam
Telefon: +49 331 288-28690
E-Mail: ***@gfz-potsdam.de
www.gfz-potsdam.de/mitarbeiter/muksin-muksin/
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 ***@lists.hawaii.edu
Note: gmt-help will become obsolete on Sept 1,
2014 - please use forum on gmt.soest.hawaii.edu
instead.
--
Muksin Umar
--------------------------------
Geophysikalische Tiefensondierung
Helmholtz-Zentrum Potsdam
Deutsches GeoForschungsZentrum GFZ
Telegrafenberg
Haus E, Raum 453
14473 Potsdam
Telefon: +49 331 288-28690
E-Mail: ***@gfz-potsdam.de
www.gfz-potsdam.de/mitarbeiter/muksin-muksin/
--
Muksin





~~~~~~~~~~~~~~~

Muksin Umar

Department of Physics,

Syiah Kuala University Banda Aceh Indonesia

***@unsyiah.ac.id

Phone: +62-81263289103



Section 2.2 Geophysical Deep Sounding

GFZ-Potsdam, German Research Centre for Geosciences

Phone: +49-331288 28690

email : ***@gfz-potsdam.de






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 ***@lists.hawaii.edu
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 ***@lists.hawaii.edu
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.
Marcus Badger
2014-06-23 21:35:11 UTC
Permalink
Post by m***@GMAIL.COM
Another interesting thing is when I plot symbols like circles ( -Sc0.2),
all symbols will be plotted including the symbols outside the region. It
never happened on my old ubuntu and GMT.
That's because you've included an -N flag in your psxy call.

Marcus.
Post by m***@GMAIL.COM
Dear Joaquim,
I have tried it. I have tried different
The main thing is that when the points are inside the region, it will
create a normal line but if the points are outside, it will create a
polygon.
Another interesting thing is when I plot symbols like circles ( -Sc0.2),
all symbols will be plotted including the symbols outside the region. It
never happened on my old ubuntu and GMT.
Thank you very much.
Muksin
----- Reply message -----
Subject: [GMT-HELP] Drawing a line resulting a closed polygon
Date: Mon, Jun 23, 2014 22:58
Muskin
Can you please try to remove the last line of the transform_xy file and
check that the problem still exists ... or not
(please, check that you are posting to the list and not to me only)
Joaquim
Dear Joaquim,
Please find the attached file.
Thank you very much.
Muksin
Can you please send us the file "transform_xy"
Joaquim
Dear Joaquim,
I just installed a newest ubuntu and gmt.
Instead of creating a fault-line (one line) it creates a polygon
connecting the two edge points.
Sometimes, the points of the coastlines are connected so that I
got a weird line.
The script works well on my old laptop using old ubuntu and GMT
Muksin
Post by Joaquim Luis
I still don't understand what is it that you find wrong with the
line plotted with psxy but the coastlines issue look so much as
this other user report
http://gmt.soest.hawaii.edu/boards/1/topics/730
and that I could not reproduce.
Post by Muksin Umar
Dear Paul,
#!/bin/tcsh
set psfile="Aceh2.ps"
set la1=2
set la2=5.5
set lo1=96
set lo2=100
rm $psfile
pscoast -R$lo1/$lo2/$la1/$la2 -Df -JM6i -S200 -G80 -K -B0.4NsWe
-W1/0 > $psfile
psxy -R -JM -m -N -P -O -K -W10/140 transform_xy >> $psfile
echo showpage >> $psfile
gv $psfile
I got the postscript file as attached.
Even the coastline also results in the closed polygon.
However, when I choose larger boundary region it will give a
correct fault line
Regards,
Muksin
Post by Paul Wessel
The only way you would get a polygon with psxy is if you use
-G<fill> or -L. So an example will be needed to see what you
are doing.
-p
Post by Joaquim Luis
Post by muksin umar
I just installed a new version of GMT on ubuntu.
Sorry, I can't resist but "New and Ubuntu" triggers and
infinite loop in my head
Post by muksin umar
In case I have several line points outside the region, when
I draw a line it gives me a closed polygon.
Does anyone have the same experience?
Please, post a (simple) example, otherwise I'm afraid we
can't help with it.
Joaquim
Post by muksin umar
--
Muksin
~~~~~~~~~~~~~~~
Muksin Umar
Department of Physics,
Syiah Kuala University Banda Aceh Indonesia
Phone: +62-81263289103 <tel:%2B62-81263289103>
Section 2.2 Geophysical Deep Sounding
GFZ-Potsdam, German Research Centre for Geosciences
Phone: +49-331288 28690 <tel:%2B49-331288%2028690>
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
<http://gmt.soest.hawaii.edu> To unsubscribe, send the
become obsolete on Sept 1, 2014 - please use forum on
gmt.soest.hawaii.edu <http://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 <http://gmt.soest.hawaii.edu>
To unsubscribe, send the message "signoff gmt-help" to
Note: gmt-help will become obsolete on Sept 1, 2014 - please
use forum on gmt.soest.hawaii.edu
<http://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 <http://gmt.soest.hawaii.edu> To
unsubscribe, send the message "signoff gmt-help" to
Note: gmt-help will become obsolete on Sept 1, 2014 - please
use forum on gmt.soest.hawaii.edu
<http://gmt.soest.hawaii.edu> instead.
--
Muksin Umar
--------------------------------
Geophysikalische Tiefensondierung
Helmholtz-Zentrum Potsdam
Deutsches GeoForschungsZentrum GFZ
Telegrafenberg
Haus E, Raum 453
14473 Potsdam
Telefon:+49 331 288-28690 <tel:%2B49%20331%20288-28690>
www.gfz-potsdam.de/mitarbeiter/muksin-muksin/ <http://www.gfz-potsdam.de/mitarbeiter/muksin-muksin/>
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 <http://gmt.soest.hawaii.edu> To
unsubscribe, send the message "signoff gmt-help" to
Note: gmt-help will become obsolete on Sept 1, 2014 - please
use forum on gmt.soest.hawaii.edu <http://gmt.soest.hawaii.edu>
instead.
--
Muksin Umar
--------------------------------
Geophysikalische Tiefensondierung
Helmholtz-Zentrum Potsdam
Deutsches GeoForschungsZentrum GFZ
Telegrafenberg
Haus E, Raum 453
14473 Potsdam
Telefon:+49 331 288-28690 <tel:%2B49%20331%20288-28690>
www.gfz-potsdam.de/mitarbeiter/muksin-muksin/ <http://www.gfz-potsdam.de/mitarbeiter/muksin-muksin/>
--
Muksin
~~~~~~~~~~~~~~~
Muksin Umar
Department of Physics,
Syiah Kuala University Banda Aceh Indonesia
Phone: +62-81263289103
Section 2.2 Geophysical Deep Sounding
GFZ-Potsdam, German Research Centre for Geosciences
Phone: +49-331288 28690
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"
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
on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.
--
------------------------------------------------------------
Dr Marcus Badger
Research Associate

Organic Geochemistry Unit
School of Chemistry
University of Bristol
Cantock's Close
BRISTOL BS8 1TS
UK

Office: W417
Tel: +44 (0) 117 33 16795
Mobile: +44 (0) 774 07 96811
Email: ***@bristol.ac.uk
------------------------------------------------------------
sent from doorn

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 ***@lists.hawaii.edu
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.
Continue reading on narkive:
Loading...