- struct sample *max, *min;
-
- if (b < a)
- return;
- if (b->time.seconds - a->time.seconds < 3*60)
- return;
-
- max = next_minmax(a, b, 1);
- if (max) {
- render_depth_sample(gc, max);
- min = next_minmax(max, b, 0);
- if (min) {
- plot_text_samples(dive, gc, min, b);