From: Maximilian Güntner Date: Sat, 9 Jun 2012 13:05:41 +0000 (+0200) Subject: use increments that make sense for 600 seconds X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=b7ae9ad5b16e680dfc4d976e877f77f6bb1a9e3a;p=ext%2Fsubsurface.git use increments that make sense for 600 seconds 599/12 = 50, no need to use 5*60. Signed-off-by: Maximilian Güntner --- diff --git a/profile.c b/profile.c index 4a505bd..728409e 100644 --- a/profile.c +++ b/profile.c @@ -461,9 +461,9 @@ static void plot_depth_profile(struct graphics_context *gc, struct plot_info *pi if (maxtime < 600) { increments[0] = 10; - increments[1] = 30; - increments[2] = 60; - increments[3] = 5*60; + increments[1] = 20; + increments[2] = 30; + increments[3] = 60; } /* Time markers: at most every 5 min, but no more than 12 markers * and for convenience we do 5, 10, 15 or 30 min intervals.