- /* Do the profile on the top third of the page.. */
- cairo_set_source_rgb(cr, 0, 0, 0);
- cairo_rectangle(cr, 0, 0, w, h/3);
- cairo_fill(cr);
- plot(&gc, w, h/3, current_dive);
+ /* Do the profile on the top half of the page.. */
+ plot(&gc, w, h/2, current_dive);