psxy -SBb with dates
|Target version:||Candidate for next bugfix release|
when using psxy's horizontal bar symbol I cannot set the base to a certain date when using time as one axis (x). Example below
gmt psxy -R2014-01-01T/2014-12-31T/0/20 -JX15/-10 -Bpxf7dd -Ba1 -BWeSN -Bsxa1Og1o+l"2014" -V -SB0.5b <<END > test.ps > -G125 2014-10-30 1 2014-03-15 END open test.ps
#1 Updated by Paul about 3 years ago
- Status changed from New to Resolved
- Assignee set to Paul
- Target version set to Candidate for next bugfix release
- % Done changed from 0 to 100
Yes, the i/o machinery was not told that the extra column would be of the same kind as the x-coordinates (i.e., abs time). Fixed in both psxy and psxyz in r13692. Let me know that it works for you. Note your -Ba1 option is causing trouble, use -Bya1.
#2 Updated by Christian about 3 years ago
works as expected, thanks for the quick fix.
One related question though: Putting the symbol information into the input data like in the example below doesn't seem to work as the base is again not set.
gmt psxy -R2014-01-01T/2014-12-31T/0/20 -JX15/-10 -Bpxf7dd -Bya1 -BWeSN -Bsxa1Og1o+l"2014" -V -S <<END > test.ps > -G125 2014-10-30 1 0.5 Bb2014-03-15 END