makecpt -Ww and psscale -D+n(+e)
|Target version:||Candidate for next bugfix release|
I make a cyclic CPT, and then I plotted with the NaN rectangle (psscale -D+n). The cyclic symbol is over the NaN rectangle. Also happen with the side-bar triangle (I know that in theory this has no sense with a cyclic CPT).
gmt makecpt -Ccyclic -T0/180 -Ww > temp_cpt.cpt
gmt psscale -R -J -O -K >> OUT -Ctemp_cpt.cpt -DJLM+w5/0.618c+n+e -Ba+l"Cyclic CPT -D_n+e" -X1
gmt psscale -R -J -O -K >> OUT -Ctemp_cpt.cpt -DJLM+w5/0.618c+n -Ba+l"Cyclic CPT" -X4
I am using GMT 5.4.2 (r18455) 64-bit in Windows.
#1 Updated by Paul almost 4 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
Thanks, we now place the cyclic symbol on the opposite side of the NaN (if present) and if there is annotations there then we center it on the color scale itself. In r 19508 (trunk).