您好 JMP 社区,
我在试图弄清楚这一点时陷入了困境。 我有一组来自 6 次不同运行的运行数据,我想将它们绘制为目标之间阴影区域上的折线图。 有人可以解释如何做到这一点吗? 如果它是可能的。 下面是我拥有的数据和目标(浅绿色和黑色),我想在两个目标值之间用浅灰色阴影区域,如果可能的话,可能会删除目标的线条。

谢谢!
您或许可以在 Graph Builder 中使用样式为“Range”的“Area”元素。 例如:

NamesDefaultToHere(1);
n = 10;
dt = NewTable("Two Traces",
NewColumn("x", Numeric, Continous, Values(Transpose(Index(1, n, 1)))),
NewColumn("y1", Numeric, Continous, Values(J(n, 1, RandomInteger(1, 5)))),
NewColumn("y2", Numeric, Continous, Values(J(n, 1, RandomInteger(5, 10)))),
);
gb = dt << Graph Builder(
Variables( X( :x ), Y( :y1 ), Y( :y2, Position( 1 ) ) ),
Elements(
Area( X, Y( 1 ), Y( 2 ), Legend( 7 ), Area Style( "Range" ) ),
Line( X, Y( 1 ), Y( 2 ), Legend( 8 ) )
),
SendToReport(
Dispatch(
{},
"400",
ScaleBox,
{Legend Model(
7,
Properties(
0,
{Fill Color( 32 ), Transparency( 0.2 )},
Item ID( "y1..y2", 1 )
)
)}
)
)
);