我有一个多双变量图,想将所有组拟合模型汇总到数据表中。
脚本在指向一个组时工作,但在指向多个组时不工作
感谢是否有人可以提供帮助。 谢谢
可以输出一组数据表的脚本
Names Default To Here( 1 );
dt = Data Table( "ReportSummary" );
biv = dt << Bivariate(
Y( :Reference_A ),
X( :Reference_B ),
Fit Line( {Line Color( {212, 73, 88} )} ),
Fit Special(
Intercept( 0 ),
Slope( 1 ),
Centered Polynomial( 0 ),
{Line Color( {61, 174, 70} )}
),
Where( :Label == "FrequencyA" )
);
reportbiv = biv << Report;
dt = reportbiv["Summary of Fit"][1] << make combined data table;指向多组时无输出数据表
Names Default To Here( 1 );
dt = Data Table( "ReportSummary" );
biv = dt << Bivariate(
Y( :Reference_A ),
X( :Reference_B ),
Fit Line( {Line Color( {212, 73, 88} )} ),
Fit Special(
Intercept( 0 ),
Slope( 1 ),
Centered Polynomial( 0 ),
{Line Color( {61, 174, 70} )}
),
By( :Label ) /*Contained multiple group*/
);
reportbiv = biv << Report;
dt = reportbiv["Summary of Fit"][1] << make combined data table;Bivariate 报表为 By 组的每个水平生成一个单独的输出对象。因此,需要引用报告结构的每个级别。如果将 JSL 更改为以下,它将指向第一个多级报告结构并生成输出数据表
reportbiv = biv[1] << Report;
dt = reportbiv["Summary of Fit"][1] << make combined data table;