MCPcopy Create free account
hub / github.com/GenericMappingTools/gmt / gmtplot_map_lontick

Function gmtplot_map_lontick

src/gmt_plot.c:1735–1743  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1733}
1734
1735GMT_LOCAL void gmtplot_map_lontick (struct GMT_CTRL *GMT, struct PSL_CTRL *PSL, double lon, double south, double north, double len) {
1736 unsigned int i, nc;
1737 struct GMT_XINGS *xings = NULL;
1738
1739 nc = gmtlib_map_loncross (GMT, lon, south, north, &xings);
1740 for (i = 0; i < nc; i++)
1741 gmtplot_map_tick (GMT, PSL, xings[i].xx, xings[i].yy, xings[i].sides, xings[i].angle, xings[i].nx, 0, len);
1742 if (nc) gmt_M_free (GMT, xings);
1743}
1744
1745GMT_LOCAL void gmtplot_map_lattick (struct GMT_CTRL *GMT, struct PSL_CTRL *PSL, double lat, double west, double east, double len) {
1746 unsigned int i, nc;

Callers 1

gmtplot_map_tickitemFunction · 0.85

Calls 2

gmtlib_map_loncrossFunction · 0.85
gmtplot_map_tickFunction · 0.85

Tested by

no test coverage detected