sac_index = delta / 2000;
if (sac_index < 0)
sac_index = 0;
if (sac_index > SAC_COLORS - 1)
sac_index = SAC_COLORS - 1;
sac_index = delta / 2000;
if (sac_index < 0)
sac_index = 0;
if (sac_index > SAC_COLORS - 1)
sac_index = SAC_COLORS - 1;
/* Temperature profile */
plot_temperature_profile(gc, pi);
/* Temperature profile */
plot_temperature_profile(gc, pi);
/* Depth profile */
plot_depth_profile(gc, pi);
plot_events(gc, pi, dive);
/* Depth profile */
plot_depth_profile(gc, pi);
plot_events(gc, pi, dive);
/* Text on top of all graphs.. */
plot_temperature_text(gc, pi);
plot_depth_text(gc, pi);
/* Text on top of all graphs.. */
plot_temperature_text(gc, pi);
plot_depth_text(gc, pi);