You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (gmt_M_is_zero (delta)) return false; /* No need to project if it is lining up */
1096
+
/* Here we need to adjust plot region */
1097
+
GMT_Report (GMT->parent, GMT_MSG_WARNING, "Your grid is pixel-registered, the projection is simply longlat, and plot region is a full 360 degrees in longitude.\n");
1098
+
GMT_Report (GMT->parent, GMT_MSG_WARNING, "Due to lack of repeated boundary nodes, -Rw/e must be given in multiples of the grid increment (%g)\n", h->inc[GMT_X]);
1099
+
GMT_Report (GMT->parent, GMT_MSG_WARNING, "Current region (-R) setting in longitude is %g to %g\n", GMT->common.R.wesn[XLO], GMT->common.R.wesn[XHI]);
1100
+
GMT->common.R.wesn[XLO] +=delta;
1101
+
GMT->common.R.wesn[XHI] +=delta;
1102
+
if (GMT->common.R.wesn[XHI] <= 0.0) {
1103
+
GMT->common.R.wesn[XLO] +=360.0;
1104
+
GMT->common.R.wesn[XHI] +=360.0;
1105
+
}
1106
+
GMT_Report (GMT->parent, GMT_MSG_WARNING, "Adjusted region (-R) setting in longitude is %g to %g\n", GMT->common.R.wesn[XLO], GMT->common.R.wesn[XHI]);
0 commit comments