aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2012-12-07 10:49:02 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-12-07 10:49:02 -0800
commit982abb5596d6c92004c8ea88320878540f5a8415 (patch)
treedb6a7a4c8e5a68666f6fb4c3e857a9aec6a88703
parent0d1f396f3ae989f9a6ceac923be0c5ba45ef035f (diff)
downloadsubsurface-982abb5596d6c92004c8ea88320878540f5a8415.tar.gz
Move partial pressure plots up slightly
This way they don't clash with the dive computer model information that was added by commit a23ec27ca7bb "Add dive computer name to the dive plot". Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/profile.c b/profile.c
index 0b20a1ff2..cea974b21 100644
--- a/profile.c
+++ b/profile.c
@@ -708,7 +708,7 @@ static void setup_pp_limits(struct graphics_context *gc, struct plot_info *pi)
* pressure the graph seems to look fine*/
maxdepth = get_maxdepth(pi);
gc->topy = 1.5 * (maxdepth + 10000) / 10000.0 * 1.01325;
- gc->bottomy = 0.0;
+ gc->bottomy = -gc->topy / 20;
}
static void plot_single_pp_text(struct graphics_context *gc, int sec, double pp,