X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=profile.c;h=270b203c4d365e7da7429104e575805f686c378e;hb=d5b102bdf3c2f1e78c51fe8b81e8ff134c30d012;hp=be345882dcb74c18811ecc5c45850bf790b4be93;hpb=bbf5f960e11982551a3fd873c4432964ec2a0717;p=ext%2Fsubsurface.git diff --git a/profile.c b/profile.c index be34588..270b203 100644 --- 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; }