问题描述
我通过调查绘制了3D井眼.我想根据某些裂缝深度对井眼的水平截面进行着色.我还有另外两个具有这些断裂深度的列.有没有一种方法可以使用自定义表达式使用这两列为我的3d井筒上色,例如:if([measured.depth]> [upper.perf]和([[measured.depth]< [lower.perf])),然后为Axis.measured.depth(blue)设置颜色.希望这是有道理的.谢谢
I plotted a 3D wellbore using surveys. I would like to color the horizontal sections of the wellbore based on certain fracture depths. I have two additional columns that have these fracture depths. Is there a way to use custom expression to color my 3d wellbore using these two columns, for example: if([measured.depth]>[upper.perf] and ([measured.depth]<[lower.perf])), then color Axis.measured.depth(blue). Hope that makes sense. Thank you
推荐答案
最简单,最正确"的方法可能是创建新的计算列(插入计算列").在这里,您可以构建一个表达式,稍后将使用它来定义颜色.根据您提供的信息,该表达式可能类似于:
probably the most straightforward and "correct" way to do this is to create a new Calculated Column (Insert » Calculated Column). here you can build an expression that will be used later to define colors. based on the info you provided, that expression could look like:
If([Measured Depth (ft)] > [Frac Lower Perf] AND [Measured Depth (ft)] < [Frac Upper Perf])
对于 [Frac Upper Perf]
和 [FracLower Perf]
和 False
否则.您可以通过修改 If()
语句(请参阅文档以了解详细信息)
this will return True
for values outside of [Frac Upper Perf]
and [FracLower Perf]
and False
otherwise. you can make these labels a bit more informational ("Inside"/"Outside" maybe?) by modifying the If()
statement (see the documentation for details)
如果打开可视化属性,然后转到颜色页面,则可以使用列进行颜色设置.选择我们刚刚创建的列.将颜色模式更改为唯一值,然后为真值和假值选择颜色.
if you open up the visualization properties, then go to the Colors page, you have options for the Color By Columns. choose the column we just created. change the Color Mode to Unique Values and choose your color for the true and false values.
这篇关于Spotfire 3D图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!