如何在 paraview 中使用对数缩放来呈现负值

how to present negative value with log scaling in paraview

我试图通过平行视图显示网格中每个顶点的物理量。 物理量的范围从正到负。 我想按照 Alan in 2014 提出的相同方式在 paraview 中以对数刻度显示正值和负值。 即

I propose that we find maxVal = max(maximum, abs(minimum)). Then, we set the color bar to run from maxVal to -maxVal. We log scale the top half of the color legend, running from maxVal to maxVal*10^-4, and we reverse log scale the bottom half of the color legend, running from -maxVal*10^-4 to -maxVal.

(他说-4是任意参数。)

一个问题是 我认为这个提议还没有在 paraview 中实现(我使用的是 5.2 版本), 这样对吗?

另外一个问题是,有没有像Alan在paraview中提出的那样绘制颜色的方法?

自 ParaView 5.4 起尚未实现,目前无法实现该着色。