CFEL - ASG Software Suite
2.5.0
CASS
|
a logarithmic color map More...
#include <logcolor_map.h>
Public Member Functions | |
LogColorMap (const QColor &from, const QColor &to) | |
constructor More... | |
QRgb | rgb (const QwtInterval &interval, double value) const |
return the rgb value for a given value More... | |
a logarithmic color map
based upon code found here https://stackoverflow.com/questions/7745506/qwtplotspectrogram-using-a-logarithmic-color-scale
Definition at line 22 of file logcolor_map.h.
constructor
from | the first color stop |
to | the last color stop |
Definition at line 21 of file logcolor_map.cpp.
QRgb LogColorMap::rgb | ( | const QwtInterval & | interval, |
double | value | ||
) | const |
return the rgb value for a given value
interval | |
value |
Definition at line 27 of file logcolor_map.cpp.