mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 21:43:23 +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);
|
||||
|
||||
/* Show mean depth */
|
||||
set_source_rgba(gc, 1, 0.2, 0.2, 0.40);
|
||||
move_to(gc, 0, pi->meandepth);
|
||||
line_to(gc, 1, pi->meandepth);
|
||||
cairo_stroke(cr);
|
||||
if (! gc->printer) {
|
||||
set_source_rgba(gc, 1, 0.2, 0.2, 0.40);
|
||||
move_to(gc, 0, pi->meandepth);
|
||||
line_to(gc, 1, pi->meandepth);
|
||||
cairo_stroke(cr);
|
||||
}
|
||||
|
||||
gc->leftx = 0; gc->rightx = maxtime;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue