在WPF中二维数据如何绘制成不规则的彩色图

在WPF中二维数据如何绘制成不规则的彩色图


i have known how to use writeablebitmap class from wpf to image a 2D matrix data just like the upper part in the graphic, but the down part image from the same data shows much different, the image is curled and bending, it’s same as the image have an offset or shift from the original data。

我已经知道如何使用writeablebitmap来绘制二维矩阵数据,此时绘制的图形是规则的,如果将该二维数据绘制为弯曲边界的,可不可以给个思路,是不是还需要writeablebitmap类?writeablebitmap类似乎是绘制那种矩形的,对于不规则边界似乎没有对应的函数。

也就是上面的图如何变为下面的图。已知最上面图的每个点measure depth下对应的井斜,也就是最下面图每一个点TVD下弯曲的角度。

在WPF中二维数据如何绘制成不规则的彩色图
已知二维数据,使用writeablebitmap可以得到规则的彩图,那怎么得到下方这种不规则的,弯曲的彩图呢