mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
use increments that make sense for 600 seconds
599/12 = 50, no need to use 5*60. Signed-off-by: Maximilian Güntner <maximilian.guentner@gmail.com>
This commit is contained in:
parent
4229e89fc1
commit
b7ae9ad5b1
1 changed files with 3 additions and 3 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue