Re: Labeling the latitude and longitude
Hi Patrick
I have been trying your code and find that when you don't use the "d" flag (meaning the data is in geographical
coordinates) in the JX the code works properly, although you can't draw the coastline. I tried too making a
Mercator map (JM) and a equidistant cylindrical (JQ), but the axes titles don't appear neither.
It seems that the labels of the axes don't work for geographical projections. I am not a developer of the
program, just a user, and I'm not sure if this is a bug or if this is the way it works.
Maybe you can duplicate the psbasemap in order to plot the labels first and then setting the geographical
"d" flag:
psbasemap -R-180/180/-90/90 -JX25.8/15 -Ba30:"Latitude":/30:"Longitude":WESN -K -X1.5 -Y1.5 > test.eps
psbasemap -R -JX25.8d/15d -Bwesn -K -O >> test.eps
pscoast -J -R -Dc -N1 -G230-0.1-0.45 -A1000 -S0/0/100 -W0.25p -K -O >> test.eps
Regards
Jose
-----Mensaje original-----
De: World-Wide GMT Usage and Help Mailing List [mailto:GMT-HELP <at> HAWAII.EDU] En nombre de Patrick Sibanda
Enviado el: miércoles, 24 de septiembre de 2008 11:06
Para: GMT-HELP <at> HAWAII.EDU
Asunto: Re: [GMT-HELP] Labeling the latitude and longitude
Dear Paul,
I asked this question a few days ago but I have not found any help yet.
Is there a way to doing this?
I would like to label my axes as latitude and longitude but this is not
working. I am trying to use the following piece of code and I expect is
to label my axes but this does seem to work, am I doing something wrong?
Here is the piece of code
psbasemap -R-180/180/-90/90 -JX25.8d/15d
-Ba30:"Latitude":/30:"Longitude":WESN -K -X1.5 -Y1.5 > test.eps
pscoast -J -R -Dc -N1 -G230-0.1-0.45 -A1000 -S0/0/100 -W0.25p -K -O >>
test.eps
Please help me!
Kind regards
Patrick
--
========================================
Patrick Sibanda
Dept of Physics and Electronics
Rhodes University
Hermanus Magnetic Observatory
P.O. Box 32
Hermanus 7200
RSA
Email : psibanda <at> hmo.ac.za
Phone : +27 (0)28 312 1196 Web: http://www.star.ac.za
Fax : +27 (0)28 312 2039 : http://www.hmo.ac.za
--------------------------------------------------------------------------
"Arguments are to be avoided, they are always vulgar and often convincing"
To unsubscribe, send the message "signoff gmt-help" to listserv <at> hawaii.edu
To unsubscribe, send the message "signoff gmt-help" to listserv <at> hawaii.edu