mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-07 20:53:25 +00:00
Remove average depth from print
It looks confusing in black and white Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
145c470bc3
commit
912ce7941f
1 changed files with 6 additions and 4 deletions
10
profile.c
10
profile.c
|
@ -306,10 +306,12 @@ static void plot_depth_profile(struct graphics_context *gc, struct plot_info *pi
|
||||||
cairo_stroke(cr);
|
cairo_stroke(cr);
|
||||||
|
|
||||||
/* Show mean depth */
|
/* Show mean depth */
|
||||||
set_source_rgba(gc, 1, 0.2, 0.2, 0.40);
|
if (! gc->printer) {
|
||||||
move_to(gc, 0, pi->meandepth);
|
set_source_rgba(gc, 1, 0.2, 0.2, 0.40);
|
||||||
line_to(gc, 1, pi->meandepth);
|
move_to(gc, 0, pi->meandepth);
|
||||||
cairo_stroke(cr);
|
line_to(gc, 1, pi->meandepth);
|
||||||
|
cairo_stroke(cr);
|
||||||
|
}
|
||||||
|
|
||||||
gc->leftx = 0; gc->rightx = maxtime;
|
gc->leftx = 0; gc->rightx = maxtime;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue