將分配保存到電源點你好
我嘗試將分佈圖保存到 .pptx 中。然而,它確實保存了,每個圖分為 3 頁(第 1 頁分佈,第 2 頁分位數,第 3 頁匯總統計)。
有沒有辦法將所有這些組合成 1 頁?
names default to here (1);
dt = current data table();
plot =
Distribution(
Stack( 1 ),
Continuous Distribution(
Column( :Q1'22 POR Fcst $ ),
Horizontal Layout( 1 ),
Vertical( 0 ),
Normal Quantile Plot( 1 )
)
);
plot << save presentation ("C:\temp\try.ppt");
腳本編寫回复:將分發保存到電源點您需要將所有對象移動到一個圖像中,然後保存它。這是一個例子

\Names Default To Here( 1 );
dt = Open( "$sample_data/big class.jmp" );
plot = Distribution(
Stack( 1 ),
Continuous Distribution( Column( :height ), Horizontal Layout( 1 ), Vertical( 0 ), Normal Quantile Plot( 1 ) )
);
nw = New Window( "Output", (Report( plot )[Outline Box( 1 )] << get picture) );
nw << save presentation( "$TEMP\try.ppt" );
Open( "$TEMP\try.ppt" );