plot: remove unused windowbase field

pull/469/head
nick black 5 years ago
parent bdfcdf4086
commit cfdd8c4c5c
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -156,8 +156,9 @@ typedef struct ncplot {
uint64_t minchannel;
bool vertical_indep;
ncgridgeom_e gridtype;
int64_t windowbase; // first valid x value
uint64_t rangex; // windowbase + rangex - 1 -> last valid x
// requested number of slots. 0 for automatically setting the number of slots
// to span the horizontal area.
uint64_t rangex;
// domain minimum and maximum. if detectdomain is true, these are
// progressively enlarged/shrunk to fit the sample set. if not, samples
// outside these bounds are counted, but the displayed range covers only this.

@ -124,7 +124,6 @@ ncplot* ncplot_create(ncplane* n, const ncplot_options* opts){
ret->maxy = 0;
ret->miny = ~(uint64_t)0ull;
}
ret->windowbase = 0;
ret->slotstart = 0;
ret->slotx = 0;
redraw_plot(ret);

Loading…
Cancel
Save