pslegend problem

View: New views
7 Messages — Rating Filter:   Alert me  

pslegend problem

by alessandro-25 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,
I'm trying to insert a simple legend (name and corresponding color) in the following chart, but to no avail.

#!/bin/sh
GMT gmtset GRID_CROSS_SIZE 0 ANNOT_FONT_SIZE_PRIMARY 10
GMT pscoast -R16/19/34/35.5 -Df -JM6.5i -P -B1.0g1.0 -Ggrey  -K > map.ps 
GMT psxy buoy1_ang.txt -R16/19/34/35.5 -JM6.5i -O -M -Sv0.003i/0.01i/0.01i -Gblack -K- O>> map.ps
GMT psxy buoy2_ang.txt -R16/19/34/35.5 -JM6.5i -O -M -Sv0.003i/0.01i/0.01i -Ggray -K- O>> map.ps
GMT psxy buoy1_ang.txt -R16/19/34/35.5 -JM6.5i -O -M -Sc1p -Gred -O -K >> map.ps
GMT psxy buoy2_ang.txt -R16/19/34/35.5 -JM6.5i -O -M -Sc1p -Ggreen -O >> map.ps

Someone can help me?
Best regards,
Alessandro
--
Alessandro Mercatini
alessandro@...
cell: +393407496160
fax: +390775768218
PPlease consider the environment before printing this email!
To unsubscribe, send the message "signoff gmt-help" to listserv@...

Re: pslegend problem

by Stephan Eickschen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alessandro,

I can't find any pslegend-command in your script, only pscoast for
the base map and psxy to plot vectors and circles. How did you try
to plot the legend? psxy doesn't do the job by itself - you have to
add pslegend.

Best regards,

Stephan

Alessandro Mercatini schrieb am 29.10.2009 11:15:

> Hi all,
> I'm trying to insert a simple legend (name and corresponding color) in
> the following chart, but to no avail.
>
> #!/bin/sh
> GMT gmtset GRID_CROSS_SIZE 0 ANNOT_FONT_SIZE_PRIMARY 10
> GMT pscoast -R16/19/34/35.5 -Df -JM6.5i -P -B1.0g1.0 -Ggrey  -K > map.ps
> GMT psxy buoy1_ang.txt -R16/19/34/35.5 -JM6.5i -O -M
> -Sv0.003i/0.01i/0.01i -Gblack -K- O>> map.ps
> GMT psxy buoy2_ang.txt -R16/19/34/35.5 -JM6.5i -O -M
> -Sv0.003i/0.01i/0.01i -Ggray -K- O>> map.ps
> GMT psxy buoy1_ang.txt -R16/19/34/35.5 -JM6.5i -O -M -Sc1p -Gred -O -K
>>> map.ps
> GMT psxy buoy2_ang.txt -R16/19/34/35.5 -JM6.5i -O -M -Sc1p -Ggreen -O >>
> map.ps
>
> Someone can help me?
> Best regards,
> Alessandro
> --
> /Alessandro Mercatini/
> alessandro@... <mailto:alessandro@...>
> cell: +393407496160
> fax: +390775768218
> PPlease consider the environment before printing this email!
> To unsubscribe, send the message "signoff gmt-help" to listserv@...


- --
- --------------------------------------------------------------------
Stephan Eickschen                         Fon: +49 (0)228 933 999 70
Augustastrasse 89                         Fax: +49 (0)228 933 999 71
53173 Bonn                               Cell: +49 (0)170  54 781 60
Germany                          Email: eickschen.haenel@...
                                             http://www.eiskultur.de
- --------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFK6XuN/PW08+82GKsRAlRoAJ9kti7FTu0+8WdBH4cdg4gHc5CYngCeKi67
1+Cxz9NyZt4GVeyE99JiwtM=
=EiYI
-----END PGP SIGNATURE-----

To unsubscribe, send the message "signoff gmt-help" to listserv@...

Re: pslegend problem

by alessandro-25 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes, i know,
but I don't know the method to insert a simple legend in the graphic,
I've tried in various ways but to no avail, I would put something like this:

"red point" Buoy 1
"black point" Buoy 2

Can anyone help me please??
Best regards
Alessandro

Stephan Eickschen ha scritto:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alessandro,

I can't find any pslegend-command in your script, only pscoast for
the base map and psxy to plot vectors and circles. How did you try
to plot the legend? psxy doesn't do the job by itself - you have to
add pslegend.

Best regards,

Stephan

Alessandro Mercatini schrieb am 29.10.2009 11:15:
  
Hi all,
I'm trying to insert a simple legend (name and corresponding color) in
the following chart, but to no avail.

#!/bin/sh
GMT gmtset GRID_CROSS_SIZE 0 ANNOT_FONT_SIZE_PRIMARY 10
GMT pscoast -R16/19/34/35.5 -Df -JM6.5i -P -B1.0g1.0 -Ggrey  -K > map.ps 
GMT psxy buoy1_ang.txt -R16/19/34/35.5 -JM6.5i -O -M
-Sv0.003i/0.01i/0.01i -Gblack -K- O>> map.ps
GMT psxy buoy2_ang.txt -R16/19/34/35.5 -JM6.5i -O -M
-Sv0.003i/0.01i/0.01i -Ggray -K- O>> map.ps
GMT psxy buoy1_ang.txt -R16/19/34/35.5 -JM6.5i -O -M -Sc1p -Gred -O -K
    
map.ps
        
GMT psxy buoy2_ang.txt -R16/19/34/35.5 -JM6.5i -O -M -Sc1p -Ggreen -O >>
map.ps

Someone can help me?
Best regards,
Alessandro
-- 
/Alessandro Mercatini/
alessandro@... alessandro@...
cell: +393407496160
fax: +390775768218
PPlease consider the environment before printing this email!
To unsubscribe, send the message "signoff gmt-help" to listserv@...
    


- --
- --------------------------------------------------------------------
Stephan Eickschen                         Fon: +49 (0)228 933 999 70
Augustastrasse 89                         Fax: +49 (0)228 933 999 71
53173 Bonn                               Cell: +49 (0)170  54 781 60
Germany                          Email: eickschen.haenel@...
                                             http://www.eiskultur.de
- --------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFK6XuN/PW08+82GKsRAlRoAJ9kti7FTu0+8WdBH4cdg4gHc5CYngCeKi67
1+Cxz9NyZt4GVeyE99JiwtM=
=EiYI
-----END PGP SIGNATURE-----

To unsubscribe, send the message "signoff gmt-help" to listserv@...

  


--
Alessandro Mercatini
alessandro@...
cell: +393407496160
fax: +390775768218
PPlease consider the environment before printing this email!
To unsubscribe, send the message "signoff gmt-help" to listserv@...

Re: pslegend problem

by Mike Willis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You should be able to use pstext to do what you want, or pslegend.

Mike

On Thu, Oct 29, 2009 at 9:11 AM, Alessandro Mercatini
<alessandro@...> wrote:

> Yes, i know,
> but I don't know the method to insert a simple legend in the graphic,
> I've tried in various ways but to no avail, I would put something like this:
>
> "red point" Buoy 1
> "black point" Buoy 2
>
> Can anyone help me please??
> Best regards
> Alessandro
>
> Stephan Eickschen ha scritto:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Alessandro,
>
> I can't find any pslegend-command in your script, only pscoast for
> the base map and psxy to plot vectors and circles. How did you try
> to plot the legend? psxy doesn't do the job by itself - you have to
> add pslegend.
>
> Best regards,
>
> Stephan
>
> Alessandro Mercatini schrieb am 29.10.2009 11:15:
>
>
> Hi all,
> I'm trying to insert a simple legend (name and corresponding color) in
> the following chart, but to no avail.
>
> #!/bin/sh
> GMT gmtset GRID_CROSS_SIZE 0 ANNOT_FONT_SIZE_PRIMARY 10
> GMT pscoast -R16/19/34/35.5 -Df -JM6.5i -P -B1.0g1.0 -Ggrey  -K > map.ps
> GMT psxy buoy1_ang.txt -R16/19/34/35.5 -JM6.5i -O -M
> -Sv0.003i/0.01i/0.01i -Gblack -K- O>> map.ps
> GMT psxy buoy2_ang.txt -R16/19/34/35.5 -JM6.5i -O -M
> -Sv0.003i/0.01i/0.01i -Ggray -K- O>> map.ps
> GMT psxy buoy1_ang.txt -R16/19/34/35.5 -JM6.5i -O -M -Sc1p -Gred -O -K
>
>
> map.ps
>
>
> GMT psxy buoy2_ang.txt -R16/19/34/35.5 -JM6.5i -O -M -Sc1p -Ggreen -O >>
> map.ps
>
> Someone can help me?
> Best regards,
> Alessandro
> --
> /Alessandro Mercatini/
> alessandro@... <mailto:alessandro@...>
> cell: +393407496160
> fax: +390775768218
> PPlease consider the environment before printing this email!
> To unsubscribe, send the message "signoff gmt-help" to listserv@...
>
>
> - --
> - --------------------------------------------------------------------
> Stephan Eickschen                         Fon: +49 (0)228 933 999 70
> Augustastrasse 89                         Fax: +49 (0)228 933 999 71
> 53173 Bonn                               Cell: +49 (0)170  54 781 60
> Germany                          Email: eickschen.haenel@...
>                                              http://www.eiskultur.de
> - --------------------------------------------------------------------
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iD8DBQFK6XuN/PW08+82GKsRAlRoAJ9kti7FTu0+8WdBH4cdg4gHc5CYngCeKi67
> 1+Cxz9NyZt4GVeyE99JiwtM=
> =EiYI
> -----END PGP SIGNATURE-----
>
> To unsubscribe, send the message "signoff gmt-help" to listserv@...
>
>
>
> --
> Alessandro Mercatini
> alessandro@...
> cell: +393407496160
> fax: +390775768218
> PPlease consider the environment before printing this email!
> To unsubscribe, send the message "signoff gmt-help" to listserv@...

To unsubscribe, send the message "signoff gmt-help" to listserv@...

Re: pslegend problem

by Stephan Eickschen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alessandro,

in your subject you write about pslegend. So, please, read the
manual page of pslegend (there are examples at the end of the man
page) and the Cookbook - there you will find /lots/ of examples.
http://gmt.soest.hawaii.edu/gmt/doc/gmt/html/man/pslegend.html
http://gmt.soest.hawaii.edu/gmt/doc/gmt/html/GMT_Docs/GMT_Docs.html

Best regards,

Stephan

Alessandro Mercatini schrieb am 29.10.2009 14:11:

> Yes, i know,
> but I don't know the method to insert a simple legend in the graphic,
> I've tried in various ways but to no avail, I would put something like this:
>
> "red point" Buoy 1
> "black point" Buoy 2
>
> Can anyone help me please??
> Best regards
> Alessandro
>
> Stephan Eickschen ha scritto:
> Alessandro,
>
> I can't find any pslegend-command in your script, only pscoast for
> the base map and psxy to plot vectors and circles. How did you try
> to plot the legend? psxy doesn't do the job by itself - you have to
> add pslegend.
>
> Best regards,
>
> Stephan
>
> Alessandro Mercatini schrieb am 29.10.2009 11:15:
>  
>>>> Hi all,
>>>> I'm trying to insert a simple legend (name and corresponding color) in
>>>> the following chart, but to no avail.
>>>>
>>>> #!/bin/sh
>>>> GMT gmtset GRID_CROSS_SIZE 0 ANNOT_FONT_SIZE_PRIMARY 10
>>>> GMT pscoast -R16/19/34/35.5 -Df -JM6.5i -P -B1.0g1.0 -Ggrey  -K > map.ps
>>>> GMT psxy buoy1_ang.txt -R16/19/34/35.5 -JM6.5i -O -M
>>>> -Sv0.003i/0.01i/0.01i -Gblack -K- O>> map.ps
>>>> GMT psxy buoy2_ang.txt -R16/19/34/35.5 -JM6.5i -O -M
>>>> -Sv0.003i/0.01i/0.01i -Ggray -K- O>> map.ps
>>>> GMT psxy buoy1_ang.txt -R16/19/34/35.5 -JM6.5i -O -M -Sc1p -Gred -O -K
>>>>    
>>>>>> map.ps
>>>>>>        
>>>> GMT psxy buoy2_ang.txt -R16/19/34/35.5 -JM6.5i -O -M -Sc1p -Ggreen -O >>
>>>> map.ps
>>>>
>>>> Someone can help me?
>>>> Best regards,
>>>> Alessandro
>>>> --
>>>> /Alessandro Mercatini/
>>>> alessandro@... <mailto:alessandro@...>
>>>> cell: +393407496160
>>>> fax: +390775768218
>>>> PPlease consider the environment before printing this email!
>>>> To unsubscribe, send the message "signoff gmt-help" to listserv@...
>>>>    
>
>
>>
To unsubscribe, send the message "signoff gmt-help" to
listserv@...
>>

> --
> /Alessandro Mercatini/
> alessandro@... <mailto:alessandro@...>
> cell: +393407496160
> fax: +390775768218
> PPlease consider the environment before printing this email!
> To unsubscribe, send the message "signoff gmt-help" to listserv@...


- --
- --------------------------------------------------------------------
Stephan Eickschen                         Fon: +49 (0)228 933 999 70
Augustastrasse 89                         Fax: +49 (0)228 933 999 71
53173 Bonn                               Cell: +49 (0)170  54 781 60
Germany                          Email: eickschen.haenel@...
                                             http://www.eiskultur.de
- --------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFK6dOt/PW08+82GKsRAsG6AJwNCKDauh/vWfd/Sd4u8Jr9+CQukQCgnV4k
shBEy+sOjiitmZsmyEisHmg=
=MK+0
-----END PGP SIGNATURE-----

To unsubscribe, send the message "signoff gmt-help" to listserv@...

Re: pslegend problem

by alessandro-25 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,
I am very sorry to bother you onr thing very probably trivial, but  also  after reading the online help,  I can't do what I wont. I'm trying to use the legend taken from an example and my change, but I can not see it....
This is my code:

#!/bin/sh
GMT gmtset GRID_CROSS_SIZE 0 ANNOT_FONT_SIZE_PRIMARY 10
GMT pscoast -R16/18.75/34/35.75 -Df -JM6.5i -P -B.25/.25WESN -U"Buoy PRIMI first deployment" -Slightblue -G128 -W2 -K > map.ps
#echo "18 35.6 35.75 0 2 lm PRIMI" | GMT pstext -R16/18.75/34/35.75 -JM6.5i -O -K >> map.ps
GMT pscoast -JM -Df -R -G125 -W2/0/0/0 -K -O >> map.ps
GMT psxy buoy1_ang.txt -R16/18.75/34/35.75 -JM6.5i -O -M -Sv0.003i/0.01i/0.01i -Gblack -K -O>> map.ps
GMT psxy buoy2_ang.txt -R16/18.75/34/35.75 -JM6.5i -O -M -Sv0.003i/0.01i/0.01i -Gblack -K -O>> map.ps
GMT psxy buoy3_ang.txt -R16/18.75/34/35.75 -JM6.5i -O -M -Sv0.003i/0.01i/0.01i -Gblack -K -O>> map.ps
GMT psxy buoy4_ang.txt -R16/18.75/34/35.75 -JM6.5i -O -M -Sv0.003i/0.01i/0.01i -Gblack -K -O>> map.ps
GMT psxy 33201_code_ang.txt -R16/18.75/34/35.75 -JM6.5i -O -M -Sv0.003i/0.01i/0.01i -Gblack -K -O>> map.ps
GMT psxy 33209_code_ang.txt -R16/18.75/34/35.75 -JM6.5i -O -M -Sv0.003i/0.01i/0.01i -Gblack -K -O>> map.ps
GMT psxy buoy1_ang.txt -R16/18.75/34/35.75 -JM6.5i -O -M -Sc1p -W2/0/0/0 -O -K >> map.ps
GMT psxy buoy2_ang.txt -R16/18.75/34/35.75 -JM6.5i -O -M -Sc1p -W2/255/0/0 -O -K >> map.ps
GMT psxy buoy3_ang.txt -R16/18.75/34/35.75 -JM6.5i -O -M -Sc1p -W2/255/0/255 -O -K >> map.ps
GMT psxy buoy4_ang.txt -R16/18.75/34/35.75 -JM6.5i -O -M -Sc1p -W2/0/255/0 -O -K >> map.ps
GMT psxy 33201_code_ang.txt -R16/18.75/34/35.75 -JM6.5i -O -M -Sc1p -W2/0/0/255 -O -K >> map.ps
GMT psxy 33209_code_ang.txt -R16/18.75/34/35.75 -JM6.5i -O -M -Sc1p -W2/0/255/255 -O -K >> map.ps
GMT psxy sst1.txt -Y3.4 -X0.2 -R1/296/27/31.5 -JX3 -Bf24/0.5wesn -W2/0/0/0 -O -K >> map.ps
GMT psxy sst2.txt -Y0 -X3.2 -R1/296/27/31.5 -JX3 -Bf24/0.5wEsn -W2/255/0/0 -O -K >> map.ps
GMT psxy sst3.txt -Y-3.2 -X-3.2 -R1/296/27/31.5 -JX3 -Bf24/0.5wesn -W2/255/0/255 -O -K >> map.ps
GMT psxy sst4.txt -Y0 -X3.2 -R1/296/27/31.5 -JX3 -Bf24/0.5wEsn -W2/0/255/0 -O -K >> map.ps
GMT psxy buoy1_ang.txt -JM -R -W2/0/0/0 -A -O -K >> map.ps
GMT psxy buoy2_ang.txt -JM -R -W2/255/0/0 -A -O -K >> map.ps
GMT psxy buoy3_ang.txt -JM -R -W2/255/0/255 -A -O -K >> map.ps
GMT psxy buoy4_ang.txt -JM -R -W2/0/255/0 -A -O -K>> map.ps
GMT pslegend -R16/18.75/34/35.75 -Jx1i/-1i -O -Dx4.5/0/6i/0.3i/TC -Fthick >> map.ps << END
GMT N 3
GMT S 0.15i s 0.2i red  0.25p 0.3i Terrestrial Antipodes [$land %]
GMT S 0.15i s 0.2i blue 0.25p 0.3i Oceanic Antipodes [$ocean %]
GMT S 0.15i s 0.2i gray 0.25p 0.3i Mixed Antipodes [$mixed %]
GMT END

Thanks to all,
best regards
Alessandro


Stephan Eickschen ha scritto:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alessandro,

in your subject you write about pslegend. So, please, read the
manual page of pslegend (there are examples at the end of the man
page) and the Cookbook - there you will find /lots/ of examples.
http://gmt.soest.hawaii.edu/gmt/doc/gmt/html/man/pslegend.html
http://gmt.soest.hawaii.edu/gmt/doc/gmt/html/GMT_Docs/GMT_Docs.html

Best regards,

Stephan

Alessandro Mercatini schrieb am 29.10.2009 14:11:
  
Yes, i know,
but I don't know the method to insert a simple legend in the graphic,
I've tried in various ways but to no avail, I would put something like this:

"red point" Buoy 1
"black point" Buoy 2

Can anyone help me please??
Best regards
Alessandro

Stephan Eickschen ha scritto:
Alessandro,

I can't find any pslegend-command in your script, only pscoast for
the base map and psxy to plot vectors and circles. How did you try
to plot the legend? psxy doesn't do the job by itself - you have to
add pslegend.

Best regards,

Stephan

Alessandro Mercatini schrieb am 29.10.2009 11:15:
  
    
Hi all,
I'm trying to insert a simple legend (name and corresponding color) in
the following chart, but to no avail.

#!/bin/sh
GMT gmtset GRID_CROSS_SIZE 0 ANNOT_FONT_SIZE_PRIMARY 10
GMT pscoast -R16/19/34/35.5 -Df -JM6.5i -P -B1.0g1.0 -Ggrey  -K > map.ps 
GMT psxy buoy1_ang.txt -R16/19/34/35.5 -JM6.5i -O -M
-Sv0.003i/0.01i/0.01i -Gblack -K- O>> map.ps
GMT psxy buoy2_ang.txt -R16/19/34/35.5 -JM6.5i -O -M
-Sv0.003i/0.01i/0.01i -Ggray -K- O>> map.ps
GMT psxy buoy1_ang.txt -R16/19/34/35.5 -JM6.5i -O -M -Sc1p -Gred -O -K
    
          
map.ps
        
              
GMT psxy buoy2_ang.txt -R16/19/34/35.5 -JM6.5i -O -M -Sc1p -Ggreen -O >>
map.ps

Someone can help me?
Best regards,
Alessandro
-- 
/Alessandro Mercatini/
alessandro@... alessandro@...
cell: +393407496160
fax: +390775768218
PPlease consider the environment before printing this email!
To unsubscribe, send the message "signoff gmt-help" to listserv@...
    
          
    
To unsubscribe, send the message "signoff gmt-help" to
listserv@...
  

  
-- 
/Alessandro Mercatini/
alessandro@... alessandro@...
cell: +393407496160
fax: +390775768218
PPlease consider the environment before printing this email!
To unsubscribe, send the message "signoff gmt-help" to listserv@...
    


- --
- --------------------------------------------------------------------
Stephan Eickschen                         Fon: +49 (0)228 933 999 70
Augustastrasse 89                         Fax: +49 (0)228 933 999 71
53173 Bonn                               Cell: +49 (0)170  54 781 60
Germany                          Email: eickschen.haenel@...
                                             http://www.eiskultur.de
- --------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFK6dOt/PW08+82GKsRAsG6AJwNCKDauh/vWfd/Sd4u8Jr9+CQukQCgnV4k
shBEy+sOjiitmZsmyEisHmg=
=MK+0
-----END PGP SIGNATURE-----

To unsubscribe, send the message "signoff gmt-help" to listserv@...

  


--
Alessandro Mercatini
alessandro@...
cell: +393407496160
fax: +390775768218
PPlease consider the environment before printing this email!
To unsubscribe, send the message "signoff gmt-help" to listserv@...

Re: pslegend problem

by Paul Wessel-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

pslegend will choke on those "GMT" text strings you have in the beginning.  You will need to take those out, as well as in front of END.  THese are data records.
-p

GMT pslegend -R16/18.75/34/35.75 -Jx1i/-1i -O -Dx4.5/0/6i/0.3i/TC -Fthick >> map.ps << END
GMT N 3
GMT S 0.15i s 0.2i red  0.25p 0.3i Terrestrial Antipodes [$land %]
GMT S 0.15i s 0.2i blue 0.25p 0.3i Oceanic Antipodes [$ocean %]
GMT S 0.15i s 0.2i gray 0.25p 0.3i Mixed Antipodes [$mixed %]
GMT END

Thanks to all,
best regards
Alessandro


Stephan Eickschen ha scritto:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alessandro,

in your subject you write about pslegend. So, please, read the
manual page of pslegend (there are examples at the end of the man
page) and the Cookbook - there you will find /lots/ of examples.
http://gmt.soest.hawaii.edu/gmt/doc/gmt/html/man/pslegend.html
http://gmt.soest.hawaii.edu/gmt/doc/gmt/html/GMT_Docs/GMT_Docs.html

Best regards,

Stephan

Alessandro Mercatini schrieb am 29.10.2009 14:11:
  
Yes, i know,
but I don't know the method to insert a simple legend in the graphic,
I've tried in various ways but to no avail, I would put something like this:

"red point" Buoy 1
"black point" Buoy 2

Can anyone help me please??
Best regards
Alessandro

Stephan Eickschen ha scritto:
Alessandro,

I can't find any pslegend-command in your script, only pscoast for
the base map and psxy to plot vectors and circles. How did you try
to plot the legend? psxy doesn't do the job by itself - you have to
add pslegend.

Best regards,

Stephan

Alessandro Mercatini schrieb am 29.10.2009 11:15:
  
    
Hi all,
I'm trying to insert a simple legend (name and corresponding color) in
the following chart, but to no avail.

#!/bin/sh
GMT gmtset GRID_CROSS_SIZE 0 ANNOT_FONT_SIZE_PRIMARY 10
GMT pscoast -R16/19/34/35.5 -Df -JM6.5i -P -B1.0g1.0 -Ggrey  -K > map.ps 
GMT psxy buoy1_ang.txt -R16/19/34/35.5 -JM6.5i -O -M
-Sv0.003i/0.01i/0.01i -Gblack -K- O>> map.ps
GMT psxy buoy2_ang.txt -R16/19/34/35.5 -JM6.5i -O -M
-Sv0.003i/0.01i/0.01i -Ggray -K- O>> map.ps
GMT psxy buoy1_ang.txt -R16/19/34/35.5 -JM6.5i -O -M -Sc1p -Gred -O -K
    
          
map.ps
        
              
GMT psxy buoy2_ang.txt -R16/19/34/35.5 -JM6.5i -O -M -Sc1p -Ggreen -O >>
map.ps

Someone can help me?
Best regards,
Alessandro
-- 
/Alessandro Mercatini/
alessandro@... alessandro@...
cell: +393407496160
fax: +390775768218
PPlease consider the environment before printing this email!
To unsubscribe, send the message "signoff gmt-help" to listserv@...
    
          
    
To unsubscribe, send the message "signoff gmt-help" to
listserv@...
  

  
-- 
/Alessandro Mercatini/
alessandro@... alessandro@...
cell: +393407496160
fax: +390775768218
PPlease consider the environment before printing this email!
To unsubscribe, send the message "signoff gmt-help" to listserv@...
    


- --
- --------------------------------------------------------------------
Stephan Eickschen                         Fon: +49 (0)228 933 999 70
Augustastrasse 89                         Fax: +49 (0)228 933 999 71
53173 Bonn                               Cell: +49 (0)170  54 781 60
Germany                          Email: eickschen.haenel@...
                                             http://www.eiskultur.de
- --------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFK6dOt/PW08+82GKsRAsG6AJwNCKDauh/vWfd/Sd4u8Jr9+CQukQCgnV4k
shBEy+sOjiitmZsmyEisHmg=
=MK+0
-----END PGP SIGNATURE-----

To unsubscribe, send the message "signoff gmt-help" to listserv@...

  


--
Alessandro Mercatini
alessandro@...
cell: +393407496160
fax: +390775768218
PPlease consider the environment before printing this email!
To unsubscribe, send the message "signoff gmt-help" to listserv@...

To unsubscribe, send the message "signoff gmt-help" to listserv@...