Discussion:
problems with psxy 4.5.12
Matteo Bagagli
2014-06-26 00:29:25 UTC
Permalink
Dear list..
I downloaded and installed manually the gmt 4.5.12 version on UBUNTU 14.04
LTS.
I get some trouble plotting some set of data with psxy after I've used
"project" (files are ipoxy.45 and ipoxy.315 derived from the file
ipo.lonlatdepth attached)

In my script (there is the code-split down) I can't figure out why I get
the files ipoxy.0 and ipoxy.90 plotted and NOT the ones listed above. (i
attached the ps figure)
The files to be plotted are right..but psxy doesn't want to work in the
same way for the four files

Any type of help wuold be appreciated.
Thanks a lot
have a nice day

mat

Here's the code
-----------------------------------------------------------------------------
#! /bin/bash

gmtdefaults -D > .gmtdefaults4
gmtset ANNOT_FONT_PRIMARY=29
gmtset ANNOT_FONT_SIZE_PRIMARY=16p
gmtset HEADER_FONT=32
gmtset HEADER_FONT_SIZE=20p
gmtset PLOT_DEGREE_FORMAT=ddd.xF
gmtset OUTPUT_DEGREE_FORMAT=+D
gmtset PAPER_MEDIA=A4
gmtset MEASURE_UNIT=cm

out_map=sectAZIMUT.ps
ipoFile=ipo.lonlatdepth

Clon=10.9267652106
Clat=43.1846847952

project $ipoFile -C$Clon/$Clat -A315 -L-22.5/22.5k -W-5/5k -M -Fpz -Q >
ipoxz.315
psxy ipoxz.315 -R-22.5/22.5/-1/14 -JX15/-5c -S0.08c -G40/20/200 -W1/0/0/0
\
-Ba5f1g1WS:."Azimut -45@~\260@~ ": -Y1.5c -Xc -P -V2 -K > $out_map

#
project $ipoFile -C$Clon/$Clat -A45 -L-22.5/22.5k -W-5/5k -M -Fpz -Q >
ipoxz.45
psxy ipoxz.45 -R-22.5/22.5/-1/14 -JX15/-5c -S0.08c -G40/20/200 -W1/0/0/0 \
-Ba5f1g1W:."Azimut 45@~\260@~ ": -Y7c -V2 -O -K >> $out_map

#
project $ipoFile -C$Clon/$Clat -A90 -L-22.5/22.5k -W-5/5k -M -Fpz -Q >
ipoxz.90
psxy ipoxz.90 -R-22.5/22.5/-1/14 -JX15/-5c -Sc0.08c -G40/20/200 -W1/0/0/0
\
-Ba5f1g1W:."Azimut 90@~\260@~ (W-E)": -Y7.1c -V2 -O -K >> $out_map
#-JX3/-1

#
project $ipoFile -C$Clon/$Clat -A0 -L-22.5/22.5k -W-5/5k -M -Fpz -Q >
ipoxz.0
psxy ipoxz.0 -R-22.5/22.5/-1/14 -JX15/-5c -Sc0.08c -G200/20/40 -W1/0/0/0 \
-Ba5f1g1W:."Azimut 0@~\260@~ (N-S)": -Y7.2c -V2 -O >> $out_map

gmtdefaults -D > .gmtdefaults4
gv $out_map &

----------------------------------------------------------------------------------------------------------------

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...