Re: usage of -i option with psxy
Paul Wessel <[email protected]>
| Newsgroups | gmane.comp.gis.gmt.user |
|---|---|
| Message-ID | <[email protected]> |
You are off by one column. In GMT the first column is 0. So -i0,1,5s0.025 -p On Dec 6, 2013, at 12:45 PM, Cyril Langlois <[email protected]> wrote: > Hello, > > I’ve tried to map with GMT5.1.0 the seamounts database Global_Seamounts_JGR2001_revised.txt published by Paul Wessel in 2001, with seamount radius as symbol size. > > So, using awk, I write : > > awk '{if((substr($1,1,1)!="#")&&(substr($1,1,1)!=">")&&($1!=""))print($1,$2,0.0025*$6)}' Global_Seamounts_JGR2001_revised.txt |\ > gmt psxy -R -J -Scc -Wthinner,black -Gfirebrick -O -V >> $map > > It works (attached map below). > > Reading the GMT5.1.0 manual, I believed I could do the same without awk, with the psxy -i option, choosing longitude (1), latitude (2) and seamount size (6th) columns of the file and resizing seamount radius. So, I write : > > gmt psxy -R -J -Scc -i1,2,6s0.025 -hi -Wthinner,black-Gfirebrick -O -V >> $map > > but it doesn’t work : data symbols are not plotted with the expected size nor at the good location. > > Where am I wrong ? > Thanks for help, > > Cyril > > <GMT5_Seamounts-JH.jpg> > Dr. Cyril LANGLOIS > Professeur agrégé - enseignant de Sciences de la Terre > [email protected] > Tél. portable : 06 89 05 68 22 > Tél. bureau : 04 72 72 85 28 > § --------------------------- § > Préparation à l'Agrégation SV-STU > Ecole Normale Supérieure de Lyon - Site Monod > 46, allée d'Italie > 69364 Lyon cedex 07 > § --------------------------- § > > To unsubscribe, send the message "signoff gmt-help" to [email protected] To unsubscribe, send the message "signoff gmt-help" to [email protected]