Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified doc/examples/ex01/ex01.ps
Binary file not shown.
Binary file modified doc/examples/ex36/ex36.ps
Binary file not shown.
6 changes: 5 additions & 1 deletion src/gmt_map.c
Original file line number Diff line number Diff line change
Expand Up @@ -6782,7 +6782,11 @@ void gmt_auto_frame_interval (struct GMT_CTRL *GMT, unsigned int axis, unsigned
}
if (n) {
while (i < n && maj[i] < d) i++; /* Wind up to largest reasonable interval */
d = maj[i] * p, f = sub[i] * p; /* Scale up intervals in multiple of unit */
if ((GMT->current.proj.projection == GMT_MOLLWEIDE || GMT->current.proj.projection == GMT_HAMMER || \
GMT->current.proj.projection == GMT_ECKERT4) && i == 6) /* Rounded misc. projections */
d = maj[i-1] * p; /* Annotation interval needs to be less than 90 */
else d = maj[i] * p; /* Scale up intervals in multiple of unit */
f = sub[i] * p;
}
if (is_time) { /* Last check to change a 12 month unit to 1 year and 24 hours to 1 day */
if (unit == 'O' && d == 12.0) d = 1.0, f /= 12.0, unit = 'Y';
Expand Down
Binary file modified test/psxy/repeat2.ps
Binary file not shown.