你好,
我想從框架框中獲取文本,但我還沒有弄清楚執行此操作的語法。 有人可以幫忙嗎?
我已經從該線程改編了腳本,但發現它似乎不適用於我正在尋找的內容。
https://community.jmp.com/t5/Discussions/JSL-Retrieve-Selected-Frame-Box/mp/14552
我還有另一個腳本可以從分析器繪圖工具中獲取數字,我已經對其進行了調整,但我認為我也沒有正確修改它。
下面是一個例子。
names default to here(1);
dt = open("$SAMPLE_DATA/Blood Pressure.jmp");
myrpt = Multivariate(
Y( :BP 8M, :BP 12M, :BP 6M, :BP 8W, :BP 12W, :BP 6W, :BP 8F, :BP 12F, :BP 6F ),
Estimation Method( "Row-wise" ),
Scatterplot Matrix( 1 ),
Jackknife Distances( 1 ),
SendToReport(
Dispatch( {}, "Correlations", OutlineBox, {Close( 1 )} ),
Dispatch( {}, "Scatterplot Matrix", OutlineBox, {Close( 1 )} )
)
);
myrpt << Show tree structure;
// Try 1
mynum1 = myrpt[ Framebox(83) ] << Get text; // Send error
show( mynum1 );
// Try 2
mynum2 = Num( Report( myrpt )["Multivariate", Framebox( 83 )] << Get Text );
show( mynum2 ); // Empty
// Try 3
mynum3 = Num( Report( myrpt )["Jackknife Distances", Framebox( 83 )] << Get Text ); // Send error
show( mynum3 );
report( myrpt ) << Close report;


是否有關於如何從樹結構的不同部分獲取數據的指南?