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

Function gmt_get_plot_array

src/gmt_support.c:12233–12239  ·  view source on GitHub ↗

! . */

Source from the content-addressed store, hash-verified

12231
12232/*! . */
12233void gmt_get_plot_array (struct GMT_CTRL *GMT) {
12234 /* Allocate more space for plot arrays */
12235 GMT->current.plot.n_alloc = (GMT->current.plot.n_alloc == 0) ? GMT_CHUNK : (GMT->current.plot.n_alloc << 1);
12236 GMT->current.plot.x = gmt_M_memory (GMT, GMT->current.plot.x, GMT->current.plot.n_alloc, double);
12237 GMT->current.plot.y = gmt_M_memory (GMT, GMT->current.plot.y, GMT->current.plot.n_alloc, double);
12238 GMT->current.plot.pen = gmt_M_memory (GMT, GMT->current.plot.pen, GMT->current.plot.n_alloc, unsigned int);
12239}
12240
12241/*! . */
12242int gmt_get_format (struct GMT_CTRL *GMT, double interval, char *unit, char *prefix, char *format) {

Callers 7

pswiggle_plot_sectionFunction · 0.85
gmtmap_truncate_xFunction · 0.85
gmtmap_truncate_tmFunction · 0.85
gmt_cart_to_xy_lineFunction · 0.85
gmt_geo_to_xy_lineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected