mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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:
parent
0d1f396f3a
commit
982abb5596
1 changed files with 1 additions and 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*/
|
* pressure the graph seems to look fine*/
|
||||||
maxdepth = get_maxdepth(pi);
|
maxdepth = get_maxdepth(pi);
|
||||||
gc->topy = 1.5 * (maxdepth + 10000) / 10000.0 * 1.01325;
|
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,
|
static void plot_single_pp_text(struct graphics_context *gc, int sec, double pp,
|
||||||
|
|
Loading…
Reference in a new issue