Hi, I want to change the color to the outlines in pspolar. I can change one set of quadrants but not both at the same time. For example, this works:
gmt pspolar -JX10 -R0/4/0/4 -D2/2 -M5 -Ss.4 -Fgray -Ered -Gblue -Qeblue << EOF > tmp.ps
ABCD 82.0000 161.0000 -
EFGH 243.0000 172.0000 +
EOF
but this does not:
gmt pspolar -JX10 -R0/4/0/4 -D2/2 -M5 -Ss.4 -Fgray -Ered -Gblue -Qeblue -Qgred << EOF > tmp.ps
ABCD 82.0000 161.0000 -
EFGH 243.0000 172.0000 +
EOF
giving the error:
pspolar [ERROR]: Option -Q: Given more than once (offending option is -Qgred)
but the documentation indicates that the -Qmode option is repeatable. How do I use -Qe and -Qg at the same time to change both colors?
thanks
pwessel
September 20, 2022, 7:56pm
2
Good catch. yes, the parsing is too harsh here. I will fix this and submit a PR later today and update this post.
pwessel
September 21, 2022, 12:19am
3
Should be fixed in this PR .
This also seems to be true for psmeca -F options
pwessel
September 21, 2022, 11:21pm
5
I looked at the code and things are handled OK there as far as I can tell [I did not run any specific checks]. Please share a command that fails and I will have a deeper look.
echo 2 2 0 31 90 -94 5 | gmt psmeca -JX10 -R0/4/0/4 -Sa10 -N -: -O -K -G050 -E220 -L1 -P -Fa12p/t -Fered > tmp.ps
psmeca [ERROR]: Option -F: Given more than once (offending option is -Fered)
pwessel
September 22, 2022, 12:02am
7
What GMT version? It runs without incident for me with master.
sorry, I was on 6.3.0
will update and try again later
thanks