OTT色阶,好不容易试成功了
- ottdata={'red': [(0, 0, 1),
- (10/150, 1, 128/255),
- (20/150, 230/255, 230/255),
- (30/150, 0, 0),
- (40/150, 1, 1),
- (50/150, 1, 1),
- (60/150, 0, 0),
- (70/150, 0, 0),
- (80/150, 0, 200/255),
- (128/150, 0, 0),
- (1, 0, 0)],
- 'green': [(0, 0, 1),
- (10/150, 1, 0),
- (20/150, 100/255, 230/255),
- (30/150, 0, 0),
- (40/150, 0, 0),
- (50/150, 1, 1),
- (60/150, 1, 1),
- (70/150, 0, 0),
- (80/150, 1, 200/255),
- (128/150, 0, 0),
- (1, 0, 0)],
- 'blue': [(0, 0, 1),
- (10/150, 1, 128/255),
- (20/150, 188/255, 230/255),
- (30/150, 0, 0),
- (40/150, 0, 0),
- (50/150, 0, 0),
- (60/150, 0, 0),
- (70/150, 115/255, 115/255),
- (80/150, 1, 200/255),
- (128/150, 0, 0),
- (1, 0, 0)]}
复制代码 |