diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2012-12-07 10:49:02 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-12-07 10:49:02 -0800 |
commit | 982abb5596d6c92004c8ea88320878540f5a8415 (patch) | |
tree | db6a7a4c8e5a68666f6fb4c3e857a9aec6a88703 | |
parent | 0d1f396f3ae989f9a6ceac923be0c5ba45ef035f (diff) | |
download | subsurface-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |