Allow pslegend symbols to take color via CPT lookup
|Target version:||Candidate for next minor release|
gmt psxy -C<cpt> -Sc0.1i
plots circles whose color is based on the cpt file and the 3rd input column's z-value). I propose two enhancements to pslegend:
- A new option -A<cptfile> to specify a cptfile to be used for color lookup purposes.
- Symbol fill may be specified via z=<value>, which would trigger the CPT lookup and replace the entry with the corresponding color. Alternatively, perhaps just =<value> is enough [some flag is needed to distinguish shade entries from z-values].
#1 Updated by Paul about 3 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Implemented in r14140 (GMT 5.2.0 branch) via a new special command A cptfile. This is better than a command line option -A since a user can now switch from one cpt to another in the middle of a legend. I added the test script test/pslegend/zlegend.sh to make sure the new feature works.