Bug #1175

makecpt -Ww and psscale -D+n(+e)

Added by Federico almost 4 years ago. Updated over 3 years ago.

Status:ClosedStart date:2017-12-11
Priority:NormalDue date:
Assignee:Paul% Done:


Target version:Candidate for next bugfix release
Affected version:5.4.2 Platform:Windows


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.

cpt_bug_3.png - Figure (13.7 KB) Federico, 2017-12-11 11:31

cpt_bug_3.bat - Bat Script (1.48 KB) Federico, 2017-12-11 11:46


#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).

#2 Updated by Joaquim over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF