| 2413 | } |
| 2414 | |
| 2415 | GMT_LOCAL void gmtplot_map_tickmarks (struct GMT_CTRL *GMT, struct PSL_CTRL *PSL, double w, double e, double s, double n) { |
| 2416 | /* Tickmarks at annotation interval has already been done except when annotations were not desired */ |
| 2417 | |
| 2418 | if (!(gmt_M_is_geographic (GMT, GMT_IN) || GMT->current.proj.projection_GMT == GMT_POLAR)) return; /* Tickmarks already done by linear axis */ |
| 2419 | |
| 2420 | PSL_comment (PSL, "Map tickmarks\n"); |
| 2421 | |
| 2422 | gmt_setpen (GMT, &GMT->current.setting.map_tick_pen[GMT_PRIMARY]); |
| 2423 | gmtplot_map_tickitem (GMT, PSL, w, e, s, n, GMT_ANNOT_UPPER); |
| 2424 | if (!(GMT->current.setting.map_frame_type & GMT_IS_FANCY)) { /* Draw plain boundary and return */ |
| 2425 | gmtplot_map_tickitem (GMT, PSL, w, e, s, n, GMT_TICK_UPPER); |
| 2426 | gmt_setpen (GMT, &GMT->current.setting.map_tick_pen[GMT_SECONDARY]); |
| 2427 | gmtplot_map_tickitem (GMT, PSL, w, e, s, n, GMT_TICK_LOWER); |
| 2428 | } |
| 2429 | |
| 2430 | PSL_setdash (PSL, NULL, 0); |
| 2431 | } |
| 2432 | |
| 2433 | bool gmtlib_set_do_seconds (struct GMT_CTRL *GMT, double inc) { |
| 2434 | /* Determines if seconds are to be labelled based on size of increment */ |
no test coverage detected