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

Function gmtplot_timey_grid

src/gmt_plot.c:872–879  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

870}
871
872GMT_LOCAL void gmtplot_timey_grid (struct GMT_CTRL *GMT, struct PSL_CTRL *PSL, double w, double e, double s, double n, unsigned int item) {
873 unsigned int ny;
874 double *y = NULL;
875
876 ny = gmtlib_time_array (GMT, s, n, &GMT->current.map.frame.axis[GMT_Y].item[item], &y);
877 gmtplot_y_grid (GMT, PSL, w, e, y, ny);
878 if (y) gmt_M_free (GMT, y);
879}
880
881GMT_LOCAL void gmtplot_logx_grid (struct GMT_CTRL *GMT, struct PSL_CTRL *PSL, double w, double e, double s, double n, double dval) {
882 unsigned int nx;

Callers 1

gmtplot_map_gridlinesFunction · 0.85

Calls 2

gmtlib_time_arrayFunction · 0.85
gmtplot_y_gridFunction · 0.85

Tested by

no test coverage detected