我希望计算Spotfire(计算列)和Excel中多行的爬升/倾斜角度。
在图表(附件)上,我希望能够通过连续的爬升/斜率值对线条进行着色。也就是说,爬升角度很陡,它是一种颜色,曲线有较浅的爬升,还有另一种颜色。
如何将这些值(每个位置)计算为Spotfire和Excel中的计算列?
以下是用于制作图表的值。
位置,Var X,Var Y
A,0,0
A,0.02,0.08
A,0.08,0.16
A,0.2,0.21
A,0.25,0.28
A,0.34,0.35
A,0.421,0.42
A,0.502,0.83
A,0.583,0.86
A,0.664,0.89
A,0.745,0.92
A,0.826,0.95
A,1,1
B,0,0
B,0.13,0.08
B,0.29,0.16
B,0.31,0.21
B,0.35,0.28
B,0.42,0.35
B,0.43,0.42
B,0.59,0.49
B,0.63,0.56
B,0.7,0.58
B,0.78,0.62
B,0.85,0.65
B,1,1