summaryrefslogtreecommitdiffstats
path: root/display.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2011-09-16 16:22:00 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2011-09-16 16:22:00 -0700
commitc58da2ee0c440c86281ab880a6a6d5d159981542 (patch)
treed0a11beb3264911dd16ee49935dd8a98a2fa44b4 /display.h
parent89fe2c723f10649d2d98a88b385bd4733e5acbc4 (diff)
downloadsubsurface-c58da2ee0c440c86281ab880a6a6d5d159981542.tar.gz
Indicate vertical velocity through color
So far Linus has hated all of my attempts to visualize vertical velocity through color. This time I'm trying something dramatically new: there is no PURPLE involved. Maybe that will convince him of the value. We simply calculate the vertical velocity for the current plot segment (last sample point to this sample point - in this version even without divisions by zero) and assign a label based on the rate of change. These labels are translated through a predefined table into colors: Dark green is +/- 5ft/min (stable) Light green is descents up to 30ft/min and ascents up to 15ft/min Yellow is descents up to 60ft/min and ascents up to 30ft/min Orange is descents up to 100ft/min and ascents up to 60ft/min Red is outside of those ranges - you are most likely in danger Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'display.h')
0 files changed, 0 insertions, 0 deletions