]> git.tdb.fi Git - ext/subsurface.git/blobdiff - profile.c
Merge branch 'grid-to-back' of git://github.com/henrik242/subsurface
[ext/subsurface.git] / profile.c
index cb0bc2d5da0a9e993e036112e11020ad7ce27030..5d5aff5187776971f53331d023937438444b5b67 100644 (file)
--- a/profile.c
+++ b/profile.c
@@ -1382,13 +1382,13 @@ void plot(struct graphics_context *gc, cairo_rectangle_int_t *drawing_area, stru
        gc->maxx = (drawing_area->width - 2*drawing_area->x);
        gc->maxy = (drawing_area->height - 2*drawing_area->y);
 
-       /* Temperature profile */
-       plot_temperature_profile(gc, pi);
-
        /* Depth profile */
        plot_depth_profile(gc, pi);
        plot_events(gc, pi, dive);
 
+       /* Temperature profile */
+       plot_temperature_profile(gc, pi);
+
        /* Cylinder pressure plot */
        plot_cylinder_pressure(gc, pi, dive);