]> git.tdb.fi Git - ext/subsurface.git/commit
Plot fake profile for non-sample dives
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 29 Oct 2011 21:09:27 +0000 (14:09 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 29 Oct 2011 21:09:27 +0000 (14:09 -0700)
commit7c1deb37c702ad668f40ae6a9a14cd2faf918ae4
treebe3a11cad7abef325e8ddc11c03d2f31799a164d
parentb74cc4f523841729a9a7eaec3d29252e740a259d
Plot fake profile for non-sample dives

Right now it just plots something ridiculous, the code is really just
meant to be an example.  We migth be able to plot a traditional
staircase plot and make it look somewhat saner by taking mean depth into
account (if it exists).

Right now it just plots a (skewed) rectangular dive profile using the
max depth and total time. Which is obviously insane.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
profile.c