Re: Drawing a line resulting a closed polygon

Joaquim Luis <[email protected]> Mon, 23 Jun 2014 16:58:52 +0100
Newsgroups gmane.comp.gis.gmt.user
Message-ID <[email protected]>
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 <[email protected] 
> <mailto:[email protected]>> 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 <[email protected]
>>>>>     <mailto:[email protected]>> 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
>>>>>>>     [email protected] <mailto:[email protected]>
>>>>>>>     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>
>>>>>>>     email : [email protected] <mailto:[email protected]>
>>>>>>>     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 [email protected]
>>>>>>>     <mailto:[email protected]> 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
>>>>>>     [email protected] <mailto:[email protected]>
>>>>>>     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
>>>>>     [email protected] <mailto:[email protected]>
>>>>>     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>
>>>>     E-Mail:[email protected]  <mailto:[email protected]>
>>>>     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
>>>>     [email protected] <mailto:[email protected]>
>>>>     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>
>>     E-Mail:[email protected]  <mailto:[email protected]>
>>     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
> [email protected] <mailto:[email protected]>
> Phone: +62-81263289103
>
> Section 2.2 Geophysical Deep Sounding
> GFZ-Potsdam, German Research Centre for Geosciences
> Phone: +49-331288 28690
> email : [email protected] <mailto:[email protected]>


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.