你好,
我知道我們可以將圖表匯出到 powerpoint 但一次只能匯出一個圖表有點麻煩。我一直嘗試使用 JSL 識別所有開啟的報告,並使用 for 迴圈和 save presentation() 函數將其匯出到單一 powerpoint 中,但它不起作用。
我認為我很難弄清楚可以識別所有打開的視窗/報告的功能。有人可以幫忙嗎?
Something like Get Window List( Type( "Reports" ) ); might help? E.g.
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dist = dt << Distribution(
Continuous Distribution( Column( :height ), Process Capability( 0 ) ),
Continuous Distribution( Column( :weight ), Process Capability( 0 ) )
);
fitxy = dt << Bivariate( Y( :weight ), X( :height ) );
boxp = dt << Graph Builder(
Size( 528, 448 ),
Show Control Panel( 0 ),
Variables( X( :sex ), Y( :height ) ),
Elements( Box Plot( X, Y, Legend( 4 ) ), Points( X, Y, Legend( 5 ) ) )
);
winlist = Get Window List( Type( "Reports" ) );
Wait( 0 );
For( i = 1, i <= N Items( winlist ), i++,
pw = New Window( "output", <<WINDOW view=""></WINDOW>
<P>This saves the exact image of the report. To get the typical output with JMP tables, replace <CODE class=" language-jsl">pw with winlist[i] in the << Save Presentation lines and delete the lines with pw.
編輯:原始程式碼留下了很多隱藏的窗口,稱為“輸出”,“輸出 2”...抱歉。