當我將包含數百個圖表的日記匯出到 Power Point 檔案時,圖表和摘要統計資料將分為 2 張投影片。
有沒有辦法在單一投影片中顯示附件(範例圖)中顯示的所有內容?
是的,我可以將繪圖匯出為 pdf,但我正在尋找 power point。
我也嘗試過將繪圖匯出為 HTML。
匯出為 HTML 時的各個圖像確實包含摘要統計資料。
僅將繪圖匯出為圖像。
請告訴我是否有辦法使用 JSL/其他方法解決上述問題
謝謝
我正在使用 JMP16
JSL 加上 powerpoint 提供了一些非常棒的選擇。
在 powerpoint 中,有一個選項可以插入圖像並連結到檔案。 Mac 上看起來是這樣,PC 上的插入向下箭頭按鈕也有相同的效果。

我使用下面的腳本從 JMP 報告中建立一個 png 文件,然後使用 powerpoint 中的插入和連結選項。相同的 png 被插入兩次,並且縮放比例不同。投影片如下圖所示:

關閉 powerpoint 投影片,然後執行腳本的其餘部分並再次開啟 powerpoint 投影片。
重新開啟投影片後,該圖現在如下所示:

其中真正奇妙的部分是,您不必在 JMP 中調整圖表的大小,所有這些都可以在 powerpoint 中完成。影像的定位和對齊也是在 powerpoint 中完成的。 PPT 本質上是製作一個具有指定尺寸和位置的盒子,並將任何圖像檔案放入該盒子中。如果您的圖表變大或變小,則會自動調整到方格的大小。
當然,第一次設定投影片有點麻煩,但之後更新就非常容易了。
現在,想像一下在 JMP 中使用工作流程產生器,並插入自訂操作來保存每個報告的圖片。您可以執行工作流程,最後開啟 powerpoint,將顯示工作流程中的所有自訂更新圖形。這有點巨大,我不確定有多少人正在使用這種功能組合。
下面的腳本看起來有點粗糙,但它只是兩個 Oneway 報告,底部有一些重要的內容。
names default to here(1);
fig1 = Expr(
dt << Oneway(
Y( :weight ),
X( :age ),
Means and Std Dev( 1 ),
Mean Error Bars( 1 ),
Std Dev Lines( 1 ),
Histograms( 1 )
)
);
fig1color=expr(Oneway(
Y( :weight ),
X( :age ),
Means and Std Dev( 1 ),
Mean Diamonds( 1 ),
Mean Error Bars( 1 ),
Std Dev Lines( 1 ),
Histograms( 1 ),
SendToReport(
Dispatch( {}, "Oneway Report", FrameBox,
{DispatchSeg(
Hist Seg( 1 ),
{Line Color(
{0.424050015670061, 0.235950010555983, 0.255750002833103, "HLS",
0.982456147670746, 0.330000013113022, 0.284999996423721}
), Fill Color( "Red" )}
)}
),
Dispatch( {}, "Oneway Report", FrameBox( 2 ),
{DispatchSeg(
Hist Seg( 1 ),
{Line Color(
{0.424050015670061, 0.235950010555983, 0.255750002833103, "HLS",
0.982456147670746, 0.330000013113022, 0.284999996423721}
), Fill Color( "Red" )}
)}
),
Dispatch( {}, "Oneway Report", FrameBox( 3 ),
{DispatchSeg(
Hist Seg( 1 ),
{Line Color(
{0.433339169257448, 0.328609796907946, 0.226660856968595, "HLS",
0.0822122544050217, 0.330000013113022, 0.313148945569992}
), Fill Color( "Orange" )}
)}
),
Dispatch( {}, "Oneway Report", FrameBox( 4 ),
{DispatchSeg(
Hist Seg( 1 ),
{Line Color(
{0.433339169257448, 0.328609796907946, 0.226660856968595, "HLS",
0.0822122544050217, 0.330000013113022, 0.313148945569992}
), Fill Color( "Orange" )}
)}
),
Dispatch( {}, "Oneway Report", FrameBox( 5 ),
{DispatchSeg(
Hist Seg( 1 ),
{Line Color(
{0.430264771988581, 0.421629527767338, 0.229735254237463, "HLS",
0.159489631652832, 0.330000013113022, 0.303832590579987}
), Fill Color( "Yellow" )}
)}
),
Dispatch( {}, "Oneway Report", FrameBox( 6 ),
{DispatchSeg(
Hist Seg( 1 ),
{Line Color(
{0.253622181658831, 0.406377844567213, 0.265448424355718, "HLS",
0.346236556768417, 0.330000013113022, 0.231447964906693}
), Fill Color( "Green" )}
)}
)
)
););
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
rfig1 = fig1 << report;
rfig1 << Save Picture( "jmp_example.png", "png" );
//open("jmp_example.png");
open("Make Figure 1.pptx");
wait(1);//Actually, stop here. Run the above script and make a powerpoint slide using the insert and link file option.
//To keep things easy for this example, keep this script and the powerpoint file all in the same folder.
rfig1c = fig1color << report;
rfig1c << Save Picture( "jmp_example.png", "png" );
//Close the powerpoint slide, then open it again.
open("Make Figure 1.pptx");