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>
This commit is contained in:
Dirk Hohndel 2012-12-07 10:49:02 -08:00
parent 0d1f396f3a
commit 982abb5596

View file

@ -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,