Bug #1092

psscale bug

Added by Tim 12 days ago. Updated 12 days ago.

Status:In ProgressStart date:2017-05-10
Priority:NormalDue date:
Assignee:Paul% Done:

0%

Category:-
Target version:Candidate for next minor release
Affected version:all Platform:Linux

Description

When running the commands:

echo -e "98 black 100 black\n100 white 108 white" > tmp.cpt
gmt psscale -JX20cT/10c -R2016-04-01T/2016-04-15T/8.1/8.25 -Dn0.5/0.9+w10c/0.8c+jMC+h -B1 -Ctmp.cpt > out.ps

I get the attached figure. This doesn't contain the correct range of values specified in the cpt. Any ideas?

out.ps (20.7 KB) Tim, 2017-05-10 04:51

History

#1 Updated by Paul 12 days ago

  • Status changed from New to In Progress
  • Assignee set to Paul
  • Target version set to Candidate for next minor release
  • Affected version changed from 5.2.x to all

I can confirm the problem. I assume -B settings relevant to the time axis are interfering in the labeling of the linear CPT axis. As a workaround leave the -B off and you get what you expect (but you then only get the CPT boundaries labeled). We will look into a fix.

Also available in: Atom PDF