Re: 프레임박스 텍스트 가져오기잭나이프 거리의 경우 먼저 거리를 데이터 테이블에 저장한 다음 "잭나이프 값" 열 속성 값을 가져올 수 있습니다. 잭나이프 예측 값 .
또는 그래프에서 선분 값을 얻을 수 있습니다.
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 )} )
)
);
frame = Report(myrpt)[Framebox(82)];
seg = (frame << Find Seg(Line Seg(1)));
seg << get y values;
Re: 프레임박스 텍스트 가져오기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 << Jackknife Distances( 1, Save Jackknife Distances );
jd1 = dt:Jackknife Distances << get property("Jackknife Value");
show(jd1);이것은 내가 추구하는 가치를 얻는 또 다른 방법입니다.열 속성을 안내해 주셔서 감사합니다. @jthi !
프레임박스 텍스트 가져오기안녕하세요,
프레임박스에서 텍스트를 가져오고 싶지만 이를 위한 구문을 찾지 못했습니다. 누군가 도울 수 있습니까?
이 스레드에서 스크립트를 수정했지만 내가 찾고 있는 것과 작동하지 않는 것 같습니다.
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;


트리 구조의 다른 부분에서 데이터를 가져오는 방법에 대한 지침이 있습니까?
자동화 및 스크립팅윈도우Re: Framebox 텍스트 가져오기내가 show(seg)를 할 때, seg = DisplaySeg[];가 반환됩니다. 이게 뭔지 아십니까? UCL 값이나 전체 문자열을 찾고 있는데, 필요한 것을 추출하기 쉽기 때문입니다.
내 Try 1을 수정하면 nynum1이 비어 있습니다. 이유를 아십니까? 프레임박스는 찾았지만 아무것도 반환되지 않는 것 같습니다.
mynum1 = report(myrpt)[ Framebox(83) ] << Get text;
show( mynum1 );