Bug #816

Missing gridlines when phase shift is applied

Added by Paul about 2 years ago. Updated almost 2 years ago.

Status:ClosedStart date:2015-11-15
Priority:NormalDue date:
Assignee:Paul% Done:

100%

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

Description

Modified from case first reported in Missing lines with shifted "-B" option. While this map has all the gridlines:

gmt psbasemap -Rg -JF7.5/45/70/18c -Bg15+0.0 -P --MAP_GRID_PEN=0.25p,red -p0/9 > italy.ps

a similar one with a phase shift is missing a few lines:

gmt psbasemap -Rg -JF7.5/45/70/18c -Bg15+7.5 -P --MAP_GRID_PEN=0.25p,red -p0/90 > italy_shift.ps

Associated revisions

Revision 15250
Added by Paul about 2 years ago

Fix issue #816

Revision 15251
Added by Paul about 2 years ago

Add new test phasegrid.sh in the wake of issue #816

History

#1 Updated by Paul about 2 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Had to do with trying to avoid drawing both lon = 0 and lon = 360. But with nonzero phase the algorithm that tried to avoid this failed. Fixed in r15252.

#2 Updated by Paul almost 2 years ago

  • Status changed from Resolved to Closed

Fixed and seems to be working.

Also available in: Atom PDF