当我重新定义时,色彩图变得暗淡无光

时间:2016-06-06 14:06:10

标签: python python-2.7 matplotlib visualization colorbar

这是我的问题。

下面显示的DeltaStyle.Setters.Add(new Setter(GridCell.BorderBrushProperty, new SolidColorBrush(Colors.Black))); DeltaStyle.Setters.Add(new Setter(GridCell.BorderThicknessProperty, new Thickness(1,0.5,0.5,0.5))); 图表代表了兴趣点的大气传输的垂直速度。

enter image description here

我想要做的是将速度设置在0.0附近,对应于白色

所以,我已经尝试过以下代码来实现这一目标。

contourf

结果显示如下:

enter image description here

Velocity == 0 成为了我想要的颜色条的中点。但第二个情节的颜色范围似乎在缩小。然后,关于第二个图的信息变得不清楚。 如何在不改变颜色范围的情况下移动颜色条的中点?

任何建议都会受到赞赏!

0 个答案:

没有答案