我想对 2 组数据的多个参数进行 Y by X 拟合,如下所示。 如果我只想执行 1 个参数,那就非常简单了。 我只需要将温度从行拆分到列,然后手动选择 param1 temp1 与 param1 temp2。 但如果我有 100 个参数,似乎不太实际。 有没有其他系统或简单的方法来实现这一目标?
| 温度 | 参数1 | 参数2 | 参数3 | 参数 |
| 温度1 | xx | xx | xx | xx |
| 温度1 | xx | xx | xx | xx |
| 温度1 | xx | xx | xx | xx |
| 温度1 | xx | xx | xx | xx |
| 温度2 | xx | xx | xx | xx |
| 温度2 | xx | xx | xx | xx |
| 温度2 | xx | xx | xx | xx |
| 温度2 | xx | xx | xx | xx |
拆分表后是这样的。



我不知道有什么直接的方法可以做到你想要的,但是下面的脚本可以做到这一点。它使用 JMP 样本数据表中的半导体能力数据表。我认为代码足够简单,您可以使用它。
Names Default To Here( 1 );
// open the semiconductor data table and add a Temp column to it
// to mimic the data table you are using
dt = Open( "$SAMPLE_DATA\semiconductor capability.jmp" );
// Add a Temp Column
dt << New Column( "Temp", nominal, formula( If( Row() < N Rows( dt ) / 2, -26, -30 ) ) );
// Create a list of all of the parameters
colList = dt << get column names( continuous, string );
// Turn on the Show Limits for all of the columns
For( i = 1, i <= N Items( colList ), i++,
spec = Column( dt, colList[i] ) << get property( "spec limits" );
insert into(spec,expr(show limits(1)));
column( dt, colList[i] ) << set property("spec limits", eval(spec));
);
// Create the split data table
dtSplit = dt << Split(
Split By( :Temp ),
Split( Eval( colList ) ),
Remaining Columns( Drop All ),
Sort by Column Property
);
// Create an output window to place the graphs into
nw = New Window( "Outputs", lub = Lineup Box( N Col( 4 ) ) );
// Since the columns desired are side by side, loop across
// the columns and create the graphs and add them to the
// output window
For( i = 1, i <= N Cols( dtSplit ), i = i + 2,
lub << append(
Graph Builder(
Size( 350, 350 ),
Show Control Panel( 0 ),
Variables( X( As Column( dtSplit, i ) ), Y( As Column( dtSplit, i + 1 ) ) ),
Elements( Points( X, Y, Legend( 5 ) ) )
)
)
);

感谢您的回复。 您的任何一个选项都符合我的要求。 也许我的解释一开始就不够清楚。
多元确实可以同时处理 1 与 N 参数。 但如果你想做数百个参数,这实际上是不可行的。 而且我也不需要 1 vs N 参数相关性。 我只需要 1 对 1 的参数相关性。 您的第二个选择实际上是建议按 Temp 进行 Param1 与 Param2 组,这也不是我的想法。
我真正想要的是..
Chart1:Y 轴将是 temp1 param1,X 轴将是 temp2 param1。
图 2:Y 轴为 temp1 param2,X 轴为 temp2 param2。
等等......100 数百个参数
我将您的请求解释为在制作散点图时您有许多数据列可用于 X 和 Y 角色。 多元平台自动生成此类散点图的矩阵。 输入 Y 角色中的所有变量,您将获得所有可能的散点图,一次两个变量。
然而,另一种解释是您想要相同的散点图,但按“Temp”分割数据。 如果是这样,则当您通过“Fit Y by X”对话框启动双变量平台时,将 Temp 置于“按”角色中。
最后,如果需要在 X 或 Y 角色中以交互方式探索具有不同数据列的散点图,则可以使用列切换器功能。
希望这些建议之一能够对您有所帮助或迅速澄清您想要做什么。