您好@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 中的編碼與其他編程語言有很大不同,學習曲線要長一些才能熟悉。 但是自動化我的工作非常強大,再次感謝你。