Bug #1038

psscale with legend and frame box, excessive stretch

Added by Joaquim 5 months ago. Updated 4 months ago.

Status:ClosedStart date:2017-02-06
Priority:NormalDue date:
Assignee:Paul% Done:

100%

Category:-
Target version:Candidate for next bugfix release
Affected version:5.3-svn Platform:

Description

From forum post http://gmt.soest.hawaii.edu/boards/1/topics/4614
This example shows how the psscale frame box extends way beyond the legend width.

makecpt -T0/70/5 > lixo.cpt
psbasemap -R-61/-55/-53/-51 -JM15 -Ba -K > lixo.ps
psscale -R -J -DjTR+o0.5c/0.3c+w5/0.618ch -Clixo.cpt -F+p+gwhite+r -O -K >> lixo.ps
psscale -R -J -DjTR+o0.5c/2.3c+w5/0.618ch -Clixo.cpt -Ba+l"Profundidade" -F+p+gwhite+r -O >> lixo.ps

History

#1 Updated by Paul 4 months 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

The duplication of x and y label was not detected until after the frame dimensions were calculated. Fixed in r17584.

#2 Updated by Joaquim 4 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF