X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=profile.c;h=1d4cabc084a377cd6ede725244fdfedcc1ac6fc1;hb=e276b0602bf9b5953f237e67663ee0d3d8d1163b;hp=20317b93717704e922000528cf1b5060df1d7bd1;hpb=f627dde02305f0bee1183ed8a968dc7ad041dab5;p=ext%2Fsubsurface.git diff --git a/profile.c b/profile.c index 20317b9..1d4cabc 100644 --- a/profile.c +++ b/profile.c @@ -295,8 +295,14 @@ static void plot_depth_profile(struct graphics_context *gc, struct plot_info *pi gc->leftx = 0; gc->rightx = maxtime; - plot_smoothed_profile(gc, pi); - plot_minmax_profile(gc, pi); + /* + * These are good for debugging text placement etc, + * but not for actual display.. + */ + if (0) { + plot_smoothed_profile(gc, pi); + plot_minmax_profile(gc, pi); + } entry = pi->entry; set_source_rgba(gc, 1, 0.2, 0.2, 0.80);