Bug #1061

Custom axes with geographic projections

Added by Andreas 9 months ago. Updated 8 months ago.

Status:ClosedStart date:2017-03-04
Priority:NormalDue date:
Assignee:Paul% Done:


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


The ability to have irregularly spaced annotations is great. Assuming it is supposed to work with geographic projections - I only found examples with linear projections in the cookbook - there are some issues:

*Annotation may get cut
*Gridlines do not understand that they live on a potato?

Tested on 5.3.2

custom_axes.pdf (12.1 KB) Andreas, 2017-03-04 01:34

custom_axes.bat (448 Bytes) Andreas, 2017-03-04 01:36

Associated revisions

Revision 17623
Added by Paul 9 months ago

Properly do gridlines for custom selection, issue #1061


#1 Updated by Andreas 9 months ago

Forgot to add the example script that made the figure

#2 Updated by Paul 9 months ago

  • Status changed from New to Resolved
  • Assignee set to Paul
  • % Done changed from 0 to 100

Well, it happened to be implemented in a Cartesian context, so gridlines fail. I have fixed this so that gridlines are drawn properly for map projections. However, no text gets clipped by GMT. That is your doing by not allowing enough space on the paper. psconvert (i.e., gs) cannot extend the paper beyond what you selected - it can only shrink inwards. r17623.

#3 Updated by Andreas 9 months ago


About the text clipping; I got confused by the fact that the text disappeared on the east/left side. I'm used to that happening on the west/right - hence I very often use PS_MEDIA=A0. As the figure is placed on the lower left of the canvas, I see that the text falls 'off the edge'. Solved by moving the plot some distance with -X10c.

#4 Updated by Joaquim 8 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF