你好!
我已經學會如何透過 jsl 腳本自動建立、插入和更新 JMP 圖形到 PowerPoint 中(請參閱下面的腳本和參考)。 現在,我希望能夠指定有關這些圖表的更多項目:
1. PowerPoint 投影片上的位置
2.為PowerPoint投影片中的圖形新增圖片邊框
這是我目前的腳本,它實際上打開數據,製作圖形,保存它,將其插入到 PPoint,然後打開 PPoint。
************************************************** ******** ****************************************** **************** **
Names Default To Here( 1 );
dt = Open( "Blood_Pressure_Testing.jmp", invisible );
biv = dt << Graph Builder(
Size( 826, 596 ),
Show Control Panel( 0 ),
Variables( X( :Subject ), Y( :Dose ), Color( :BP 8M ) ),
Elements( Points( X, Y, Legend( 19 ) ) ),
Local Data Filter( Close Outline( 1 ) ),
SendToReport(
Dispatch(
{},
"400",
ScaleBox,
{Legend Model(
19,
Properties(
0,
{gradient( {Color Theme( "Jet"(1) ), Discrete Colors( 1 )} )},
Item ID( "BP 8M", 1 )
),
Properties( 1, {Marker( "Filled Diamond" )}, Item ID( "Dose", 1 ) )
)}
),
Dispatch( {}, "graph title", TextEditBox, {Set Text( "XXXXXXX" )} )
)
);
Report( biv )[Outline Box( 1 )] << Set title( "This is my title" );
//test comment - this works
Report( biv ) << journal;
biv << close window;
jour = Current Journal();
jour << Save Presentation( "<PATH to="" save="">" );
Open( "<PATH to="" powerpoint=""></PATH></PATH>
************************************************** ******** ****************************************** **************** **
謝謝您的幫忙!
您可以從腳本索引(搜尋簡報)或從JMP 幫助。 您也許可以透過建立自訂視窗並將其儲存為映像到 powerpoint 來執行您想要的操作。
通常我只是使用JMP 創建報告圖像,然後我有Python 腳本(參數化),我稱之為使用運行程序從這些圖像創建我的幻燈片(我不使用JMP 的Python 集成,因為在我看來,這是一場惡夢開始工作)。