嗨@txnelson ,非常感谢您回答我之前的问题。由于我有 30 多个 DoE 模型,所以我尝试自动化我的数据分析和复制粘贴图表。您能否告诉我如何通过修改以下代码来调整帧大小,例如“残差正态分位数图”,例如“{“Response XXXX”,“残差正态分位数图”},
“Bivar 残差分位数图”,
框架盒,
{帧大小(271,213)}”?
我可以通过编辑模型适配来手动调整框架大小,但这非常耗时
这里有一段代码,如果拟合摘要尚未打开,它会打开它。
ob = rbiv << XPath( "//OutlineBox[ contains( text(), 'Response' ) ]" );
Print( ob );
For( i = 1, i <= N Items( ob ), i++,
name = ob[i] << get title;
Print( name );
obj = ob[i] << get scriptable object;
try( obj<<SUMMARY of="" fit=""></SUMMARY>
Additionally, it is a simple matter to open the Summary of Fit sections for all models, with one click. If you hold down the CNTL key and click on the Summary of Fit selection, and all models will have the Summary of Fit added to the analysis.
好的,是时候让你做一些阅读了。您需要花时间阅读脚本指南中的显示树。这将为您提供有关如何操作 JMP 输出的详细信息。您还需要花时间了解 XPATH() 函数和 XPATH 元素。它是一种用于搜索 XML 的标准化方法。
这是您要求的修改
names default to here(1);
rbiv = current report();
ob = rbiv << XPath( "//OutlineBox[ contains( text(), 'Response' ) ]" );
Print( ob );
For( i = 1, i <= N Items( ob ), i++,
name = ob[i] << get title;
Print( name );
obj = ob[i] << get scriptable object;
try( obj<<SUMMARY of="" fit=""></SUMMARY>
@txnelson ,我一定会花更多时间阅读说明书,非常感谢您的推荐。 JMP 中的编码与其他编程语言有很大不同,学习曲线要长一些才能熟悉。 但是自动化我的工作非常强大,再次感谢你。