]> git.tdb.fi Git - ext/subsurface.git/blobdiff - profile.c
Flip tank pressure graph to show the RIGHT way
[ext/subsurface.git] / profile.c
index be345882dcb74c18811ecc5c45850bf790b4be93..270b203c4d365e7da7429104e575805f686c378e 100644 (file)
--- a/profile.c
+++ b/profile.c
@@ -441,7 +441,7 @@ static int get_cylinder_pressure_range(struct graphics_context *gc, struct plot_
        gc->leftx = 0;
        gc->rightx = get_maxtime(pi);
 
-       gc->topy = 0; gc->bottomy = pi->maxpressure * 1.5;
+       gc->bottomy = 0; gc->topy = pi->maxpressure * 1.5;
        return pi->maxpressure != 0;
 }