Changeset 10633
- Timestamp:
- 05/09/11 20:15:29 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/FactGui.h
r10621 r10633 184 184 185 185 const double min = fData.min(); 186 const double scale = fData.max() -fData.min();186 const double scale = fData.max()==fData.min() ? 1 : fData.max()-fData.min(); 187 187 188 188 TAttFill fill(0, 1001); … … 194 194 if (fBold[cnt]) 195 195 continue; 196 197 196 198 197 const int col = (fData[cnt]-min)/scale*(fPalette.size()-1);
Note:
See TracChangeset
for help on using the changeset viewer.