using -B and -L options in psscale
|Target version:||Candidate for next bugfix release|
I am trying to get equal-sized color rectangles with -L option and and the same time
add general annotation (like "Magnetic field") to the color scale. However nothing
is plotted if -L and -B are used at the same time.
It did work before in 4x, but does not work now in GMT 5.1.1
Apparently -B does not give the same behavior as -L - it gives annotation based on values,
not on colors, and is not working for non-linear color scales.
Test script is attached
Note that cpt file is not linear.
#1 Updated by Paul over 4 years ago
- Tracker changed from Feature to Bug
- Status changed from New to Resolved
- Assignee set to Paul
- Target version set to Candidate for next bugfix release
- Affected version set to 5.1.1
Because of under-the-hood changes to the -B machinery, the test in GMT 4 that disallows -L and -B (if -B tries to set intervals) did not translate cleanly and thus triggered even though just axis labels were specified. I changed that to only object if intervals were specified, so now seems to work as in GMT4. Please try; in r13299.